org.springframework.extensions.webscripts.connector
Class UserContext
java.lang.Object
org.springframework.extensions.webscripts.connector.UserContext
public final class UserContext
- extends Object
Describes 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserContext
public UserContext(String userId,
Credentials credentials,
ConnectorSession connectorSession)
getUserId
public String getUserId()
getCredentials
public Credentials getCredentials()
getConnectorSession
public ConnectorSession getConnectorSession()
Copyright © 2009 SpringSource, Inc. All Rights Reserved.