Class SyncopeConsoleSession
java.lang.Object
org.apache.wicket.Session
org.apache.wicket.protocol.http.WebSession
org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession
org.apache.wicket.authroles.authentication.AuthenticatedWebSession
org.apache.syncope.client.console.SyncopeConsoleSession
- All Implemented Interfaces:
Serializable,BaseSession,IEventSink,IFeedbackContributor,IMetadataContext<Serializable,,Session> IClusterable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SyncopeAnonymousClientprotected SyncopeClientprotected final SyncopeClientFactoryBeanprotected Stringprotected Stringprotected final SimpleAsyncTaskExecutorprotected static final Loggerprotected PlatformInfoprotected Rolesprotected UserTOprotected SystemInfoFields inherited from class org.apache.wicket.Session
clientInfo, SESSION_ATTRIBUTE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String jwt) booleanauthenticate(String username, String password) batch()voidcleanup()void<T> Future<T> static SyncopeConsoleSessionget()<T> TgetAnonymousService(Class<T> serviceClass) protected <T> TgetCachedService(Class<T> serviceClass) getJWT()getRoles()getRootRealm(String initial) <T> TgetService(Class<T> serviceClass) <T> TgetService(String etag, Class<T> serviceClass) voidprotected StringvoidExtract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable).booleanvoidrefreshAuth(String username) <T> voidresetClient(Class<T> service) voidsetDelegatedBy(String delegatedBy) voidMethods inherited from class org.apache.wicket.authroles.authentication.AuthenticatedWebSession
isSignedIn, signIn, signIn, signOutMethods inherited from class org.apache.wicket.protocol.http.WebSession
generateNewSessionId, getClientInfo, newBrowserInfoPageMethods inherited from class org.apache.wicket.Session
bind, changeSessionId, clear, debug, detach, dirty, dirty, endRequest, error, exists, fatal, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getClassResolver, getFeedbackMessages, getId, getLocale, getMetaData, getPageFactory, getPageManager, getSessionStore, getSizeInBytes, getStyle, info, internalDetach, invalidateNow, isRtlLanguage, isRtlLocale, isSessionInvalidated, isTemporary, newPageAccessSynchronizer, nextPageId, nextSequenceValue, onEvent, onInvalidate, removeAttribute, replaceSession, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, success, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.syncope.client.ui.commons.BaseSession
getSupportedLocales
-
Field Details
-
LOG
-
clientFactory
-
services
-
executor
-
domain
-
client
-
anonymousClient
-
gitAndBuildInfo
-
platformInfo
-
systemInfo
-
selfTO
-
auth
-
delegations
-
delegatedBy
-
roles
-
-
Constructor Details
-
SyncopeConsoleSession
-
-
Method Details
-
get
-
message
-
onException
Description copied from interface:BaseSessionExtract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable).- Specified by:
onExceptionin interfaceBaseSession- Parameters:
e- raised exception- See Also:
-
getMediaType
-
execute
-
execute
- Specified by:
executein interfaceBaseSession
-
gitAndBuildInfo
-
getPlatformInfo
-
getSystemInfo
-
setDomain
- Specified by:
setDomainin interfaceBaseSession
-
getDomain
- Specified by:
getDomainin interfaceBaseSession
-
getJWT
- Specified by:
getJWTin interfaceBaseSession
-
authenticate
- Specified by:
authenticatein classAuthenticatedWebSession
-
authenticate
-
cleanup
public void cleanup() -
invalidate
public void invalidate()- Overrides:
invalidatein classAuthenticatedWebSession
-
getSelfTO
-
getAuthRealms
-
getSearchableRealms
-
getRootRealm
-
owns
-
getRoles
- Specified by:
getRolesin classAbstractAuthenticatedWebSession
-
getDelegations
-
getDelegatedBy
-
setDelegatedBy
-
refreshAuth
-
getAnonymousClient
- Specified by:
getAnonymousClientin interfaceBaseSession
-
getAnonymousService
- Specified by:
getAnonymousServicein interfaceBaseSession
-
getCachedService
-
getService
- Specified by:
getServicein interfaceBaseSession
-
getService
- Specified by:
getServicein interfaceBaseSession
-
batch
-
resetClient
- Specified by:
resetClientin interfaceBaseSession
-
getDateFormat
- Specified by:
getDateFormatin interfaceBaseSession
-