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 |
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.
|
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) |
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, getUserPrincipal, hasExpiredPassword, hasExpiredSecondaryPassword, hasPendingAgreements, hasPengingSecondaryPassword, hasRequiredValue, isAdmin, isAdminOf, isAliasOperator, isBroker, isBrokerOf, isGlobalAdmin, isLoggedIn, isMember, isMemberOnly, isNetworkAdmin, isOperator, isOwnerOf, isRestrictedOperator, isVisible, manages, relatesTobean, doGetConfigurationAccessor, getAccessChannel, getApplicationContext, getChannel, getChannelConfiguration, getChannelSettingsAccessor, getConfiguration, getConfigurationEntity, getLoggedOperator, getLoggedUser, getNetwork, getProducts, getRawEntityManagerHandler, getRequestData, getSubjectId, hasPermission, isGlobalAdminInNetwork, isGuest, isManagerOf, isMultiNetworkAdminInGlobalMode, isScript, isSystem, isUserManager, resolveNetworkId, runAsSystem, runAsSystemclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisRestpublic java.lang.String getAccessChannelName()
SessionDatapublic UserAuthVO getAuthenticatedUser()
SessionDatagetAuthenticatedUser in interface SessionDatagetAuthenticatedUser in class UserSessionDatapublic java.lang.String getChannelName()
SessionDatapublic Pin getPin()
SessionDataPin used for this session only if the user was authenticated using such mechanism.public 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 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 doHasPendingSecondaryPassword()
doHasPendingSecondaryPassword in class UserSessionData