Class UserContext
- java.lang.Object
-
- org.springframework.extensions.webscripts.connector.UserContext
-
public final class UserContext extends java.lang.ObjectDescribes bound-context for a given user.Bound context includes Credentials and Connector session information.
Credentials may or may not be bound to a CredentialVault. ConnectorSessions may or may not be bound to an Http Session.
This class is immutable.
- Author:
- muzquiano, kevinr
-
-
Constructor Summary
Constructors Constructor Description UserContext(java.lang.String userId, Credentials credentials, ConnectorSession connectorSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectorSessiongetConnectorSession()CredentialsgetCredentials()java.lang.StringgetUserId()
-
-
-
Constructor Detail
-
UserContext
public UserContext(java.lang.String userId, Credentials credentials, ConnectorSession connectorSession)
-
-
Method Detail
-
getUserId
public java.lang.String getUserId()
-
getCredentials
public Credentials getCredentials()
-
getConnectorSession
public ConnectorSession getConnectorSession()
-
-