Class SingleSignOnSessionKey
java.lang.Object
org.apache.catalina.authenticator.SingleSignOnSessionKey
- All Implemented Interfaces:
Serializable
Key used by SSO to identify a session. This key is used rather than the actual session to facilitate the replication
of the SSO information across a cluster where replicating the entire session would generate significant, unnecessary
overhead.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSingleSignOnSessionKey(Session session) Creates a session key from the given session, using the session's current ID.SingleSignOnSessionKey(Session session, String sessionId) Creates a session key using the given session context and an explicit session ID. -
Method Summary
-
Constructor Details
-
SingleSignOnSessionKey
Creates a session key from the given session, using the session's current ID.- Parameters:
session- the session from which to extract the key information
-
SingleSignOnSessionKey
-
-
Method Details
-
getSessionId
Returns the session ID associated with this key.- Returns:
- the session ID
-
getContextName
Returns the context name associated with this key.- Returns:
- the context name
-
getHostName
-
hashCode
-
equals
-
toString
-