public class MyAuthenticatedWebSession extends AuthenticatedWebSession
clientInfo, SESSION_ATTRIBUTE_NAME
Constructor and Description |
---|
MyAuthenticatedWebSession(Request request)
Construct.
|
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(String username,
String password)
Actual authentication check, has to be implemented by subclasses.
|
Roles |
getRoles() |
get, invalidate, isSignedIn, signIn, signIn, signOut
generateNewSessionId, getClientInfo, newBrowserInfoPage
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, isSessionInvalidated, isTemporary, newPageAccessSynchronizer, nextPageId, nextSequenceValue, onEvent, onInvalidate, removeAttribute, replaceSession, setAttribute, setClientInfo, setLocale, setMetaData, setStyle, success, warn
public MyAuthenticatedWebSession(Request request)
request
- The current request objectpublic boolean authenticate(String username, String password)
AuthenticatedWebSession
authenticate
in class AuthenticatedWebSession
username
- The usernamepassword
- The passwordpublic Roles getRoles()
getRoles
in class AbstractAuthenticatedWebSession
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.