public final class SignIn2Session extends AuthenticatedWebSession
clientInfo, SESSION_ATTRIBUTE_NAME| Modifier | Constructor and Description |
|---|---|
protected |
SignIn2Session(Request request)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String username,
String password)
Checks the given username and password, returning a User object if if the username and
password identify a valid user.
|
Roles |
getRoles() |
String |
getUser() |
get, invalidate, isSignedIn, signIn, signIn, signOutgenerateNewSessionId, getClientInfo, newBrowserInfoPagebind, changeSessionId, 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, warnprotected SignIn2Session(Request request)
request - The current request objectpublic final boolean authenticate(String username, String password)
authenticate in class AuthenticatedWebSessionusername - The usernamepassword - The passwordpublic Roles getRoles()
getRoles in class AbstractAuthenticatedWebSessionAuthenticatedWebSessionpublic String getUser()
Copyright © 2020. All rights reserved.