public class SAML2SPSession extends BasicSPSession
BasicSPSession with SAML 2.0 information required for
reverse lookup in the case of a logout.| Modifier and Type | Field and Description |
|---|---|
private NameID |
nameID
The NameID asserted to the SP.
|
private String |
sessionIndex
The SessionIndex asserted to the SP.
|
| Constructor and Description |
|---|
SAML2SPSession(String id,
long creation,
long expiration,
NameID assertedNameID,
String assertedIndex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
NameID |
getNameID()
Get the
NameID asserted to the SP. |
String |
getSessionIndex()
Get the
SessionIndex value asserted to the SP. |
String |
getSPSessionKey() |
int |
hashCode() |
String |
toString() |
getCreationInstant, getExpirationInstant, getIdpublic SAML2SPSession(@Nonnull@NotEmpty String id, @Duration@Positive long creation, @Duration@Positive long expiration, @Nonnull NameID assertedNameID, @Nonnull@NotEmpty String assertedIndex)
id - the identifier of the service associated with this sessioncreation - creation time of session, in milliseconds since the epochexpiration - expiration time of session, in milliseconds since the epochassertedNameID - the NameID asserted to the SPassertedIndex - the SessionIndex asserted to the SP@Nonnull public NameID getNameID()
NameID asserted to the SP.NameID@Nonnull @NotEmpty public String getSessionIndex()
SessionIndex value asserted to the SP.@Nullable public String getSPSessionKey()
getSPSessionKey in interface SPSessiongetSPSessionKey in class BasicSPSessionpublic int hashCode()
hashCode in class BasicSPSessionpublic boolean equals(Object obj)
equals in class BasicSPSessionpublic String toString()
toString in class BasicSPSessionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.