public class OldAuthenticationWrapperFactory extends java.lang.Object implements ActionFactory<AuthenticationManager>
prepareContext(InvokationContext)
method).Modifier and Type | Class and Description |
---|---|
(package private) class |
OldAuthenticationWrapperFactory.OldAuthenticationManager |
Modifier and Type | Field and Description |
---|---|
private Authenticator |
auth |
private AuthenticationMethod |
authMethod |
Constructor and Description |
---|
OldAuthenticationWrapperFactory() |
Modifier and Type | Method and Description |
---|---|
AuthenticationManager[] |
getActions(InvokationContext<? super AuthenticationManager> context)
This method may be called one or several times for each request.
|
private Authenticator |
getAuthenticator(java.lang.String driver) |
boolean |
prepareContext(InvokationContext<? super AuthenticationManager> context)
This method is called once for each request/use of an
extension and have two purposes:
The factory should decide if the extension should be enabled or
not.
|
private Authenticator auth
private AuthenticationMethod authMethod
public boolean prepareContext(InvokationContext<? super AuthenticationManager> context)
ActionFactory
JspContext
.
prepareContext
in interface ActionFactory<AuthenticationManager>
context
- The current invokation contextpublic AuthenticationManager[] getActions(InvokationContext<? super AuthenticationManager> context)
ActionFactory
getActions
in interface ActionFactory<AuthenticationManager>
context
- The current invokation contextprivate Authenticator getAuthenticator(java.lang.String driver)