Package com.sun.identity.saml2.profile
Class IDPSessionCopy
- java.lang.Object
-
- com.sun.identity.saml2.profile.IDPSessionCopy
-
- All Implemented Interfaces:
Serializable
public class IDPSessionCopy extends Object implements Serializable
This class represents a copy of a session in the identity provider side. It keeps track of information that is needed for single sign on as well as single log out. The difference between IDPSession and IDPSessionCopy is IDPSessionCopy only keeps SSOToken id so that it can be Serializable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IDPSessionCopy()Default constructor for deserialization.IDPSessionCopy(IDPSession idpSession)IDPSessionCopy(String ssoToken)Constructor for aIDPSessionCopy
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetLogoutAll()Returnss the logoutAll propertyStringgetMetaAlias()Returns the IDP Meta Alias.List<NameIDandSPpair>getNameIDandSPpairs()Returns the list ofNameIDandSPEntityIDpair of the sessionStringgetOriginatingLogoutRequestBinding()Returns the original logout request binding.StringgetOriginatingLogoutRequestID()Returns the original log out request id of the sessionStringgetOriginatingLogoutSPEntityID()Returns the original log outSPEntityIDof the sessionStringgetPendingLogoutRequestID()Returns the pending log out request id of the sessionStringgetSSOToken()Returns theSSO Tokenof the sessionvoidsetLogoutAll(boolean enable)Sets the logoutAll propertyvoidsetMetaAlias(String metaAlias)Sets the IDP Meta Alias.voidsetOriginatingLogoutRequestBinding(String originatingLogoutRequestBinding)Sets the original logout request binding.voidsetOriginatingLogoutRequestID(String id)Sets the original log out request id of the sessionvoidsetOriginatingLogoutSPEntityID(String id)Sets the original log outSPEntityIDof the sessionvoidsetPendingLogoutRequestID(String id)Sets the pending log out request id of the session
-
-
-
Constructor Detail
-
IDPSessionCopy
public IDPSessionCopy()
Default constructor for deserialization.
-
IDPSessionCopy
public IDPSessionCopy(String ssoToken)
Constructor for aIDPSessionCopy- Parameters:
ssoToken- theSSO Tokencorresponding to theIDPSessionCopy
-
IDPSessionCopy
public IDPSessionCopy(IDPSession idpSession)
-
-
Method Detail
-
getSSOToken
public String getSSOToken()
Returns theSSO Tokenof the session- Returns:
- the
SSO Tokenof the session
-
getNameIDandSPpairs
public List<NameIDandSPpair> getNameIDandSPpairs()
Returns the list ofNameIDandSPEntityIDpair of the session- Returns:
- the list of
NameIDandSPEntityIDpair of the session
-
setPendingLogoutRequestID
public void setPendingLogoutRequestID(String id)
Sets the pending log out request id of the session- Parameters:
id- the request id
-
getPendingLogoutRequestID
public String getPendingLogoutRequestID()
Returns the pending log out request id of the session- Returns:
- id the pending log out request id
-
setOriginatingLogoutRequestBinding
public void setOriginatingLogoutRequestBinding(String originatingLogoutRequestBinding)
Sets the original logout request binding.- Parameters:
originatingLogoutRequestBinding- The original logout request binding.
-
getOriginatingLogoutRequestBinding
public String getOriginatingLogoutRequestBinding()
Returns the original logout request binding.- Returns:
- The original logout request binding.
-
setOriginatingLogoutRequestID
public void setOriginatingLogoutRequestID(String id)
Sets the original log out request id of the session- Parameters:
id- the request id
-
getOriginatingLogoutRequestID
public String getOriginatingLogoutRequestID()
Returns the original log out request id of the session- Returns:
- the original log out request id
-
setOriginatingLogoutSPEntityID
public void setOriginatingLogoutSPEntityID(String id)
Sets the original log outSPEntityIDof the session- Parameters:
id- theSPEntityID
-
getOriginatingLogoutSPEntityID
public String getOriginatingLogoutSPEntityID()
Returns the original log outSPEntityIDof the session- Returns:
- the original log out
SPEntityID
-
setLogoutAll
public void setLogoutAll(boolean enable)
Sets the logoutAll property- Parameters:
enable- true or false
-
getLogoutAll
public boolean getLogoutAll()
Returnss the logoutAll property
-
setMetaAlias
public void setMetaAlias(String metaAlias)
Sets the IDP Meta Alias.- Parameters:
metaAlias- Meta Alias
-
getMetaAlias
public String getMetaAlias()
Returns the IDP Meta Alias.- Returns:
- the IDP Meta Alias
-
-