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
getClientInfo, newBrowserInfoPage
bind, clear, debug, detach, dirty, dirty, 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 passwordAuthenticatedWebSession.authenticate(java.lang.String,
java.lang.String)
public Roles getRoles()
getRoles
in class AbstractAuthenticatedWebSession
AbstractAuthenticatedWebSession.getRoles()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.