public class OidcSessionData extends UserSessionData
UserSessionData using an OAuth2 / OpenID Connect access tokenAbstractSessionData.SessionDataChannelAccessAccessorrequestData| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Long |
doGetLoggedBasicUserId() |
protected org.cyclos.impl.access.UserPrincipal |
doGetUserPrincipal() |
protected boolean |
doHasExpiredPassword() |
java.lang.String |
getAccessChannelName()
Returns the internal name of the original channel (i.e the channel used to access Cyclos) .
|
OidcAccessToken |
getAccessToken()
Returns the OpenID Connect / OAuth2 access token for this session
|
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. |
boolean |
hasExpiredSecondaryPassword() |
protected org.cyclos.impl.users.ProductsAccessor |
resolveProductsAccessor(ProductsHandler productsHandler) |
checkConsistency, doGetConfigurationId, doGetPreferredLocales, doGetProducts, doGetSubjectId, doHasPendingAgreements, doHasPendingSecondaryPassword, doHasPermission, fallbackToDefaultLocales, getAccessClient, getAccessibleBasicGroups, getAccount, 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, returnPendingPasswordsbean, doGetConfigurationAccessor, getAccessChannel, getApplicationContext, getChannel, getChannelConfiguration, getChannelSettingsAccessor, getConfiguration, getConfigurationEntity, getIdentityProvider, getLoggedOperator, getLoggedUser, getNetwork, getProducts, getRawEntityManagerHandler, getRemoteAddress, getRequestData, getSession, getSubjectId, hasPermission, isGlobalAdminInNetwork, isGuest, isManagerOf, isMultiNetworkAdminInGlobalMode, isScript, isSystem, isTrusted, isUserManager, resolveNetworkId, runAsSystem, runAsSystemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasPermission, isRestpublic java.lang.String getAccessChannelName()
SessionDatapublic OidcAccessToken getAccessToken()
SessionDatagetAccessToken in interface SessionDatagetAccessToken in class AbstractSessionDatapublic 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.getPin in interface SessionDatagetPin 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 org.cyclos.impl.users.ProductsAccessor resolveProductsAccessor(ProductsHandler productsHandler)
resolveProductsAccessor in class UserSessionData