|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Session org.apache.wicket.protocol.http.WebSession org.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession
public abstract class AbstractAuthenticatedWebSession
Authenticated web session. Subclasses must provide a method that gets User authentication status and a method that returns the Roles for current User.
Field Summary |
---|
Fields inherited from class org.apache.wicket.Session |
---|
clientInfo, SESSION_ATTRIBUTE_NAME |
Constructor Summary | |
---|---|
AbstractAuthenticatedWebSession(Request request)
Construct. |
Method Summary | |
---|---|
static AbstractAuthenticatedWebSession |
get()
|
abstract Roles |
getRoles()
|
abstract boolean |
isSignedIn()
|
Methods inherited from class org.apache.wicket.protocol.http.WebSession |
---|
authenticate, cleanupComponentFeedbackMessages, cleanupFeedbackMessages, getClientInfo, invalidate, newBrowserInfoPage |
Methods inherited from class org.apache.wicket.Session |
---|
bind, clear, debug, detach, dirty, error, exists, fatal, getApplication, getAttribute, getAttributeNames, getAuthorizationStrategy, getClassResolver, getFeedbackMessages, getId, getLocale, getMetaData, getPageFactory, getPageManager, getSessionStore, getSizeInBytes, getStyle, info, internalDetach, invalidateNow, isCurrentRequestValid, isSessionInvalidated, isTemporary, nextPageId, nextSequenceValue, onEvent, 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 |
Constructor Detail |
---|
public AbstractAuthenticatedWebSession(Request request)
request
- The current request objectMethod Detail |
---|
public static AbstractAuthenticatedWebSession get()
public abstract Roles getRoles()
public abstract boolean isSignedIn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |