public class IDPSession extends Object
Constructor and Description |
---|
IDPSession(IDPSessionCopy idpSessionCopy) |
IDPSession(Object session)
Constructor for a
IDPSession . |
Modifier and Type | Method and Description |
---|---|
void |
addSessionPartner(SAML2SessionPartner sessionPartner)
Adds a session partner.
|
String |
getAuthnContext()
Returns authentication context.
|
SAML2SessionPartner |
getCurrentSessionPartner()
Returns the first session partner of the list of session partners.
|
boolean |
getLogoutAll()
Returns the logoutAll property.
|
String |
getMetaAlias()
Returns the IDP Meta Alias.
|
List<NameIDandSPpair> |
getNameIDandSPpairs()
Returns the list of
NameID and
SPEntityID pair of the session. |
String |
getOriginatingLogoutRequestBinding()
Returns the original logout request binding.
|
String |
getOriginatingLogoutRequestID()
Returns the original log out request id of the session.
|
String |
getOriginatingLogoutSPEntityID()
Returns the original log out
SPEntityID of the session. |
String |
getPendingLogoutRequestID()
Returns the pending log out request id of the session.
|
Object |
getSession()
Returns the session object.
|
List |
getSessionPartners()
Returns list of session partners.
|
void |
removeSessionPartner(String sessionPartner)
Removes a session partner.
|
void |
setAuthnContext(String authnContext)
Sets authentication context.
|
void |
setLogoutAll(boolean enable)
Sets the logoutAll property.
|
void |
setMetaAlias(String metaAlias)
Sets the IDP Meta Alias.
|
void |
setOriginatingLogoutRequestBinding(String originatingLogoutRequestBinding)
Sets the original logout request binding.
|
void |
setOriginatingLogoutRequestID(String id)
Sets the original log out request id of the session.
|
void |
setOriginatingLogoutSPEntityID(String id)
Sets the original log out
SPEntityID of the session. |
void |
setPendingLogoutRequestID(String id)
Sets the pending log out request id of the session.
|
void |
setSession(Object session)
Sets the session object.
|
public IDPSession(Object session)
IDPSession
.session
- the session object corresponding
to the IDPSession
public IDPSession(IDPSessionCopy idpSessionCopy)
public Object getSession()
public void setSession(Object session)
session
- The session object.public List<NameIDandSPpair> getNameIDandSPpairs()
NameID
and
SPEntityID
pair of the session.NameID
and
SPEntityID
pair of the sessionpublic void setPendingLogoutRequestID(String id)
id
- the request idpublic String getPendingLogoutRequestID()
public void setOriginatingLogoutRequestBinding(String originatingLogoutRequestBinding)
originatingLogoutRequestBinding
- the original logout request binding.public String getOriginatingLogoutRequestBinding()
public void setOriginatingLogoutRequestID(String id)
id
- the request idpublic String getOriginatingLogoutRequestID()
public void setOriginatingLogoutSPEntityID(String id)
SPEntityID
of the session.id
- the SPEntityID
public String getOriginatingLogoutSPEntityID()
SPEntityID
of the session.SPEntityID
public void setLogoutAll(boolean enable)
enable
- true or falsepublic boolean getLogoutAll()
public List getSessionPartners()
public void addSessionPartner(SAML2SessionPartner sessionPartner)
sessionPartner
- session partner to be addedpublic SAML2SessionPartner getCurrentSessionPartner()
public void removeSessionPartner(String sessionPartner)
sessionPartner
- session partner to be removedpublic String getAuthnContext()
setAuthnContext(String)
public void setAuthnContext(String authnContext)
authnContext
- authentication context to be setgetAuthnContext()
public void setMetaAlias(String metaAlias)
metaAlias
- Meta Aliaspublic String getMetaAlias()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.