Class 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 class org.apache.wicket.Session

        clientInfo, SESSION_ATTRIBUTE_NAME
    • 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
    • Constructor Detail

      • MidPointAuthWebSession

        public MidPointAuthWebSession​(org.apache.wicket.request.Request request)
    • Method Detail

      • getRoles

        public org.apache.wicket.authroles.authorization.strategies.role.Roles getRoles()
        Specified by:
        getRoles in class org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession
      • authenticate

        public boolean authenticate​(String username,
                                    String password)
        Specified by:
        authenticate in class org.apache.wicket.authroles.authentication.AuthenticatedWebSession
      • 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 interface DebugDumpable
        Returns:
        content of the object intended for diagnostics by system administrator.
      • dumpSizeEstimates

        public String dumpSizeEstimates​(int indent)