Class MidPointAuthWebSession
- 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
-
- com.evolveum.midpoint.web.security.MidPointAuthWebSession
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
,org.apache.wicket.event.IEventSink
,org.apache.wicket.feedback.IFeedbackContributor
,org.apache.wicket.IMetadataContext<Serializable,org.apache.wicket.Session>
,org.apache.wicket.util.io.IClusterable
public class MidPointAuthWebSession extends org.apache.wicket.authroles.authentication.AuthenticatedWebSession implements DebugDumpable
- Author:
- lazyman
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description MidPointAuthWebSession(org.apache.wicket.request.Request request)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
authenticate(String username, String password)
String
debugDump()
Show the content of the object intended for diagnostics by system administrator.String
debugDump(int indent)
String
dumpSizeEstimates(int indent)
static MidPointAuthWebSession
get()
org.apache.wicket.authroles.authorization.strategies.role.Roles
getRoles()
SessionStorage
getSessionStorage()
void
setClientCustomization()
-
Methods inherited from class org.apache.wicket.authroles.authentication.AuthenticatedWebSession
invalidate, 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 com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
-
-
-
Method Detail
-
get
public static MidPointAuthWebSession get()
-
getRoles
public org.apache.wicket.authroles.authorization.strategies.role.Roles getRoles()
- Specified by:
getRoles
in classorg.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession
-
authenticate
public boolean authenticate(String username, String password)
- Specified by:
authenticate
in classorg.apache.wicket.authroles.authentication.AuthenticatedWebSession
-
getSessionStorage
public SessionStorage getSessionStorage()
-
setClientCustomization
public void setClientCustomization()
-
debugDump
public String debugDump()
Description copied from interface:DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
dumpSizeEstimates
public String dumpSizeEstimates(int indent)
-
-