Class AbstractAuthenticatedWebSession

java.lang.Object
org.apache.wicket.Session
org.apache.wicket.protocol.http.WebSession
org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession
All Implemented Interfaces:
Serializable, IEventSink, IFeedbackContributor, IMetadataContext<Serializable,Session>, IClusterable
Direct Known Subclasses:
AuthenticatedWebSession

public abstract class AbstractAuthenticatedWebSession extends WebSession
Authenticated web session. Subclasses must provide a method that gets User authentication status and a method that returns the Roles for current User.
Author:
Jonathan Locke, Leonid Bogdanov
See Also:
  • Constructor Details

  • Method Details

    • get

      Returns:
      Current authenticated web session
    • getRoles

      public abstract Roles getRoles()
      Returns:
      Get the roles that this session can play
    • isSignedIn

      public abstract boolean isSignedIn()
      Returns:
      True if the user is signed in to this session