@ThreadSafe public abstract class Authenticator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PRELOGIN_EMAIL
The email address to automatically login for each session, as defined by the
system property "votorola.a.web.wic.authen.Authenticator.PRELOGIN_EMAIL", or null
if there is none.
|
Constructor and Description |
---|
Authenticator() |
Modifier and Type | Method and Description |
---|---|
(package private) static Class<? extends Page> |
extractReturnClass(PageParameters pP)
Removes "returnClass" from pP and returns the class it specifies.
|
abstract Class<? extends VPageHTML> |
loginPageClass()
The class of login page for this authenticator.
|
abstract void |
logOut()
Ensures that the user is logged out.
|
abstract VPageHTML |
newLoginPage(PageParameters pP)
Constructs a login page that redirects to a newly constructed, bookmarkable,
return page if authentication succeeds.
|
public static final String PRELOGIN_EMAIL
public Authenticator()
static Class<? extends Page> extractReturnClass(PageParameters pP)
public abstract Class<? extends VPageHTML> loginPageClass()
public abstract void logOut()
public abstract VPageHTML newLoginPage(PageParameters pP)
pP
- The type and parameters of the return page to construct after the
login attempt. Parameter "returnClass" specifies the page type, while the
remainder of pP is passed to the page instance.