public abstract class AbstractODFAuthenticateAction extends AbstractAction
EMPTY_MAP
Constructor and Description |
---|
AbstractODFAuthenticateAction() |
Modifier and Type | Method and Description |
---|---|
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
protected void |
authenticate(Request request)
Method to authenticate
|
protected abstract String |
getConfigParameter()
Get the config parameter name contained the allowed IP adresses.
|
protected abstract String |
getExceptionMessage()
Get the exception message if the current IP is not allowed.
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public AbstractODFAuthenticateAction()
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
protected void authenticate(Request request)
request
- The requestprotected abstract String getConfigParameter()
protected abstract String getExceptionMessage()