public class StatelessUserSessionData extends UserSessionData
UserSessionData which doesn't rely on Sessions| Constructor and Description |
|---|
StatelessUserSessionData(boolean allowIfPwdExpired,
java.lang.String channelName,
java.lang.String principalType,
java.lang.String principal,
java.lang.String password,
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 StatelessUserSessionData(boolean allowIfPwdExpired,
java.lang.String channelName,
java.lang.String principalType,
java.lang.String principal,
java.lang.String password,
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