Class ServletContainerAuthenticatedWebSession
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.wicketstuff.wicket.servlet3.auth.ServletContainerAuthenticatedWebSession
- All Implemented Interfaces:
Serializable,IEventSink,IFeedbackContributor,IMetadataContext<Serializable,,Session> IClusterable
Implementation class for AuthenticatedWebSession that uses servlet 3 request
to authenticate user.
- Author:
- jsarman
- See Also:
-
Field Summary
Fields inherited from class org.apache.wicket.Session
clientInfo, SESSION_ATTRIBUTE_NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.wicket.authroles.authentication.AuthenticatedWebSession
invalidate, isSignedIn, signIn, signInMethods inherited from class org.apache.wicket.protocol.http.WebSession
generateNewSessionId, getClientInfo, newBrowserInfoPageMethods 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 Details
-
ServletContainerAuthenticatedWebSession
-
-
Method Details
-
get
- Returns:
- Current authenticated web session
-
getUserName
Convenience method to retrieve authenticated users id.- Returns:
- name member of Principal object in servlet 3 request
-
getRoles
- Specified by:
getRolesin classAbstractAuthenticatedWebSession
-
signOut
public final void signOut()- Overrides:
signOutin classAuthenticatedWebSession
-
authenticate
- Specified by:
authenticatein classAuthenticatedWebSession
-