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
-
Field Summary
Modifier and TypeFieldDescriptionprotected SyncopeAnonymousClient
protected SyncopeClient
protected final SyncopeClientFactoryBean
protected String
protected String
protected final SimpleAsyncTaskExecutor
protected static final Logger
protected PlatformInfo
protected Roles
protected UserTO
protected SystemInfo
Fields inherited from class org.apache.wicket.Session
clientInfo, SESSION_ATTRIBUTE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(String jwt) boolean
authenticate
(String username, String password) batch()
void
cleanup()
void
<T> Future
<T> static SyncopeConsoleSession
get()
<T> T
getAnonymousService
(Class<T> serviceClass) protected <T> T
getCachedService
(Class<T> serviceClass) getJWT()
getRoles()
getRootRealm
(String initial) <T> T
getService
(Class<T> serviceClass) <T> T
getService
(String etag, Class<T> serviceClass) void
protected String
void
Extract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable)
.boolean
void
refreshAuth
(String username) <T> void
resetClient
(Class<T> service) void
setDelegatedBy
(String delegatedBy) void
Methods inherited from class org.apache.wicket.authroles.authentication.AuthenticatedWebSession
isSignedIn, signIn, signIn, signOut
Methods inherited from class org.apache.wicket.protocol.http.WebSession
generateNewSessionId, getClientInfo, newBrowserInfoPage
Methods 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, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:BaseSession
Extract and localize (if translation available) the actual message from the given exception; then, report it viaSession.error(java.io.Serializable)
.- Specified by:
onException
in interfaceBaseSession
- Parameters:
e
- raised exception- See Also:
-
getMediaType
-
execute
-
execute
- Specified by:
execute
in interfaceBaseSession
-
gitAndBuildInfo
-
getPlatformInfo
-
getSystemInfo
-
setDomain
- Specified by:
setDomain
in interfaceBaseSession
-
getDomain
- Specified by:
getDomain
in interfaceBaseSession
-
getJWT
- Specified by:
getJWT
in interfaceBaseSession
-
authenticate
- Specified by:
authenticate
in classAuthenticatedWebSession
-
authenticate
-
cleanup
public void cleanup() -
invalidate
public void invalidate()- Overrides:
invalidate
in classAuthenticatedWebSession
-
getSelfTO
-
getAuthRealms
-
getSearchableRealms
-
getRootRealm
-
owns
-
getRoles
- Specified by:
getRoles
in classAbstractAuthenticatedWebSession
-
getDelegations
-
getDelegatedBy
-
setDelegatedBy
-
refreshAuth
-
getAnonymousClient
- Specified by:
getAnonymousClient
in interfaceBaseSession
-
getAnonymousService
- Specified by:
getAnonymousService
in interfaceBaseSession
-
getCachedService
-
getService
- Specified by:
getService
in interfaceBaseSession
-
getService
- Specified by:
getService
in interfaceBaseSession
-
batch
-
resetClient
- Specified by:
resetClient
in interfaceBaseSession
-
getDateFormat
- Specified by:
getDateFormat
in interfaceBaseSession
-