public class DirectUserSessionData extends UserSessionData
UserSessionData constructed directly with an UserAbstractSessionData.SessionDataChannelAccessAccessorrequestData| Constructor and Description |
|---|
DirectUserSessionData(BasicUser user,
SessionData sessionData)
Legacy code: DO NOT REMOVE!
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Long |
doGetLoggedBasicUserId() |
protected org.cyclos.impl.access.UserPrincipal |
doGetUserPrincipal() |
protected boolean |
doHasExpiredPassword() |
protected boolean |
doHasPendingAgreements(org.cyclos.impl.users.ProductsAccessor accessor) |
protected boolean |
fallbackToDefaultLocales() |
java.lang.String |
getAccessChannelName()
Returns the internal name of the original channel (i.e the channel used to access Cyclos) .
|
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. |
Session |
getSession()
Returns the session in case this session data performed a login
|
boolean |
hasExpiredSecondaryPassword() |
checkConsistency, doGetConfigurationId, doGetPreferredLocales, doGetProducts, doGetSubjectId, doHasPendingSecondaryPassword, doHasPermission, getAccessClient, getAccessibleBasicGroups, getAccount, getAuthenticatedUser, getBasicUser, getChannelAccessAccessor, getCustomFieldValue, getGroup, getLoggedBasicUser, getMobilePhone, getPermissions, getPrincipal, getPrincipalType, getRoles, getToken, getTrustedDevice, getUserPrincipal, hasExpiredPassword, 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, getRemoteAddress, getRequestData, getSubjectId, hasPermission, isGlobalAdminInNetwork, isGuest, isManagerOf, isMultiNetworkAdminInGlobalMode, isScript, isSystem, isTrusted, isUserManager, resolveNetworkId, runAsSystem, runAsSystemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasPermission, isRestpublic DirectUserSessionData(BasicUser user, SessionData sessionData)
public java.lang.String getAccessChannelName()
SessionDatapublic 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 Session getSession()
SessionDatagetSession in interface SessionDatagetSession in class AbstractSessionDatapublic boolean hasExpiredSecondaryPassword()
hasExpiredSecondaryPassword in class UserSessionDataprotected 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 doHasPendingAgreements(org.cyclos.impl.users.ProductsAccessor accessor)
doHasPendingAgreements in class UserSessionDataprotected boolean fallbackToDefaultLocales()
fallbackToDefaultLocales in class UserSessionData