public final class UserContext extends Object
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.
| Constructor and Description |
|---|
UserContext(String userId,
Credentials credentials,
ConnectorSession connectorSession) |
| Modifier and Type | Method and Description |
|---|---|
ConnectorSession |
getConnectorSession() |
Credentials |
getCredentials() |
String |
getUserId() |
public UserContext(String userId, Credentials credentials, ConnectorSession connectorSession)
public String getUserId()
public Credentials getCredentials()
public ConnectorSession getConnectorSession()
Copyright © 2005–2018 Alfresco Software. All rights reserved.