Package org.jppf.admin.web.security
Class JPPFServletContainerAuthenticatedWebSession
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.jppf.admin.web.security.JPPFServletContainerAuthenticatedWebSession
- All Implemented Interfaces:
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
- Direct Known Subclasses:
JPPFWebSession
public class JPPFServletContainerAuthenticatedWebSession
extends org.apache.wicket.authroles.authentication.AuthenticatedWebSession
Adapted from org.wicketstuff.wicket.servlet3.auth.ServletContainerAuthenticatedWebSession without final for extensibility.
- See Also:
-
Field Summary
Fields inherited from class org.apache.wicket.Session
clientInfo, SESSION_ATTRIBUTE_NAME -
Constructor Summary
ConstructorsConstructorDescriptionJPPFServletContainerAuthenticatedWebSession(org.apache.wicket.request.Request request) -
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
-
JPPFServletContainerAuthenticatedWebSession
public JPPFServletContainerAuthenticatedWebSession(org.apache.wicket.request.Request request)
-
-
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
public org.apache.wicket.authroles.authorization.strategies.role.Roles getRoles()- Specified by:
getRolesin classorg.apache.wicket.authroles.authentication.AbstractAuthenticatedWebSession
-
signOut
public void signOut()- Overrides:
signOutin classorg.apache.wicket.authroles.authentication.AuthenticatedWebSession
-
authenticate
- Specified by:
authenticatein classorg.apache.wicket.authroles.authentication.AuthenticatedWebSession
-
getRequest
protected jakarta.servlet.http.HttpServletRequest getRequest()
-