public class StatefulUserSessionData extends UserSessionData
UserSessionData which is based on a SessionAbstractSessionData.SessionDataChannelAccessAccessorrequestData| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Long |
doGetLoggedBasicUserId() |
protected org.cyclos.impl.access.UserPrincipal |
doGetUserPrincipal() |
protected boolean |
doHasExpiredPassword() |
protected boolean |
doHasPendingSecondaryPassword() |
java.lang.String |
getAccessChannelName()
Returns the internal name of the original channel (i.e the channel used to access Cyclos) .
|
UserAuthVO |
getAuthenticatedUser()
Returns the user authentication data, or null if none
|
java.lang.String |
getChannelName()
Returns the internal name of the current channel.
|
IdentityProvider |
getIdentityProvider()
Returns the
IdentityProvider used for this session only if the user was authenticated using such
mechanism. |
Pin |
getPin()
Returns the
Pin used for this session only if the user was authenticated using such mechanism. |
java.lang.String |
getRemoteAddress()
Returns the remote address, of the client accessing the application
|
Session |
getSession()
Returns the session in case this session data performed a login
|
TimeInterval |
getSessionTimeout() |
java.lang.String |
getSessionToken() |
void |
replaceSessionToken(java.lang.String newSessionToken) |
void |
setSessionTimeout(TimeInterval sessionTimeout) |
java.lang.String |
toString() |
checkConsistency, doGetConfigurationId, doGetPreferredLocales, doGetProducts, doGetSubjectId, doHasPendingAgreements, doHasPermission, fallbackToDefaultLocales, getAccessClient, getAccessibleBasicGroups, getAccount, getBasicUser, getChannelAccessAccessor, getCustomFieldValue, getGroup, getLoggedBasicUser, getMobilePhone, getPermissions, getPrincipal, getPrincipalType, getRoles, getToken, getTrustedDevice, getUserPrincipal, hasExpiredPassword, hasExpiredSecondaryPassword, hasPendingAgreements, hasPengingSecondaryPassword, hasRequiredValue, isAdmin, isAdminOf, isAliasOperator, isBroker, isBrokerOf, isGlobalAdmin, isLoggedIn, isMember, isMemberOnly, isNetworkAdmin, isOperator, isOwnerOf, isRestrictedOperator, isVisible, manages, relatesTo, resolveProductsAccessor, returnPendingPasswordsbean, doGetConfigurationAccessor, getAccessChannel, getAccessToken, getApplicationContext, getChannel, getChannelConfiguration, getChannelSettingsAccessor, getConfiguration, getConfigurationEntity, getLoggedOperator, getLoggedUser, getNetwork, getProducts, getRawEntityManagerHandler, getRequestData, getSubjectId, hasPermission, isGlobalAdminInNetwork, isGuest, isManagerOf, isMultiNetworkAdminInGlobalMode, isScript, isSystem, isTrusted, isUserManager, resolveNetworkId, runAsSystem, runAsSystemclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasPermission, isRestpublic java.lang.String getAccessChannelName()
SessionDatapublic UserAuthVO getAuthenticatedUser()
SessionDatagetAuthenticatedUser in interface SessionDatagetAuthenticatedUser in class UserSessionDatapublic java.lang.String getChannelName()
SessionDatapublic IdentityProvider getIdentityProvider()
SessionDataIdentityProvider used for this session only if the user was authenticated using such
mechanism.getIdentityProvider in interface SessionDatagetIdentityProvider in class AbstractSessionDatapublic Pin getPin()
SessionDataPin used for this session only if the user was authenticated using such mechanism.getPin in interface SessionDatagetPin in class AbstractSessionDatapublic java.lang.String getRemoteAddress()
SessionDatagetRemoteAddress in interface SessionDatagetRemoteAddress in class AbstractSessionDatapublic Session getSession()
SessionDatagetSession in interface SessionDatagetSession in class AbstractSessionDatapublic TimeInterval getSessionTimeout()
public java.lang.String getSessionToken()
public void replaceSessionToken(java.lang.String newSessionToken)
public void setSessionTimeout(TimeInterval sessionTimeout)
public java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.Long doGetLoggedBasicUserId()
doGetLoggedBasicUserId in class UserSessionDataprotected org.cyclos.impl.access.UserPrincipal doGetUserPrincipal()
doGetUserPrincipal in class UserSessionDataprotected boolean doHasExpiredPassword()
doHasExpiredPassword in class UserSessionDataprotected boolean doHasPendingSecondaryPassword()
doHasPendingSecondaryPassword in class UserSessionData