public class DirectUserSessionData extends UserSessionData
UserSessionData constructed directly with an User| Constructor and Description |
|---|
DirectUserSessionData(java.lang.String channelName,
BasicUser user,
PrincipalType principalType,
RequestData requestData) |
DirectUserSessionData(java.lang.String channelName,
BasicUser user,
PrincipalType principalType,
Token token,
AccessClient accessClient,
RequestData requestData) |
DirectUserSessionData(java.lang.String channelName,
BasicUser user,
PrincipalType principalType,
Token token,
RequestData requestData) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Long |
doGetLoggedBasicUserId() |
AccessClient |
getAccessClient()
Return the current access client only if
SessionData.getPrincipalType() return an instance of AccessClientPrincipalType. |
java.lang.String |
getChannelName()
Returns the internal name of the current channel.
|
PrincipalType |
getPrincipalType()
Returns the principal type used for the current session.
|
Token |
getToken()
Return the current token only if
SessionData.getPrincipalType() return an instance of TokenPrincipalType. |
checkConsistency, doGetConfigurationId, getAccessibleBasicGroups, getAuthenticatedUser, getChannelConfiguration, getGroup, getLoggedBasicUser, getPermissions, getProducts, getRequestData, getRoles, hasExpiredPassword, hasPendingAgreements, hasPermission, hasRequiredValue, hasRole, isVisible, manages, needsSecurityQuestion, relatesTobean, doGetConfigurationAccessor, getApplicationContext, getChannel, getConfiguration, getConfigurationEntity, getLoggedUser, getNetwork, getRawEntityManagerHandler, getRemoteAddress, resolveNetworkIdpublic DirectUserSessionData(java.lang.String channelName,
BasicUser user,
PrincipalType principalType,
RequestData requestData)
public DirectUserSessionData(java.lang.String channelName,
BasicUser user,
PrincipalType principalType,
Token token,
AccessClient accessClient,
RequestData requestData)
public DirectUserSessionData(java.lang.String channelName,
BasicUser user,
PrincipalType principalType,
Token token,
RequestData requestData)
public AccessClient getAccessClient()
SessionDataSessionData.getPrincipalType() return an instance of AccessClientPrincipalType. Otherwise it
returns null.public java.lang.String getChannelName()
SessionDatapublic PrincipalType getPrincipalType()
SessionDatapublic Token getToken()
SessionDataSessionData.getPrincipalType() return an instance of TokenPrincipalType. Otherwise it returns null.protected java.lang.Long doGetLoggedBasicUserId()
doGetLoggedBasicUserId in class UserSessionData