public class PasswordLoginFormFactory extends AbstractJspActionFactory<LoginFormAction> implements LoginFormAction
Modifier and Type | Field and Description |
---|---|
static LoginFormAction |
INSTANCE
The default password login form.
|
Constructor and Description |
---|
PasswordLoginFormFactory() |
Modifier and Type | Method and Description |
---|---|
LoginFormAction[] |
getActions(InvokationContext<? super LoginFormAction> context)
This method may be called one or several times for each request.
|
java.lang.String |
getDisplayName()
Get a name that can be displayed for users in a selection list
or similar to switch between different login methods.
|
java.lang.String |
getHelp()
Optional help text that is displayed on the login form to aid the
user when logging in.
|
java.lang.String |
getId()
Get the ID of this login form.
|
FieldInfo |
getLoginField()
Get attributes for the login field on the form.
|
FieldInfo |
getPasswordField()
Get attributes for the password field on the form.
|
boolean |
rememberLastLogin()
If TRUE, the browser is asked to remember the last login used.
|
prepareContext
getDynamicActionAttributes, getParameter, getScripts, getStylesheets, prepareContext, setParameter, setScript, setStylesheet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtraField
public static final LoginFormAction INSTANCE
public LoginFormAction[] getActions(InvokationContext<? super LoginFormAction> context)
ActionFactory
getActions
in interface ActionFactory<LoginFormAction>
context
- The current invokation contextLoginFormBean
instancepublic java.lang.String getId()
LoginFormAction
LoginRequest
attribute. Authentication managers should check this id
before determining if they should handle the login request
or not.
Since this is a new method in BASE 3.14 a default
implementation that returns null is provided for backwards
compatibility. If this method returns null, the id from
the extension is used instead.getId
in interface LoginFormAction
public java.lang.String getDisplayName()
LoginFormAction
getDisplayName
in interface LoginFormAction
public java.lang.String getHelp()
LoginFormAction
getHelp
in interface LoginFormAction
public FieldInfo getLoginField()
LoginFormAction
getLoginField
in interface LoginFormAction
public FieldInfo getPasswordField()
LoginFormAction
getPasswordField
in interface LoginFormAction
public boolean rememberLastLogin()
LoginFormAction
rememberLastLogin
in interface LoginFormAction