Package org.ametys.workspaces.odf
Class ODFAuthenticateAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.ametys.workspaces.odf.AbstractODFAuthenticateAction
-
- org.ametys.workspaces.odf.ODFAuthenticateAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Action
public class ODFAuthenticateAction extends AbstractODFAuthenticateAction
Special authentication process for incoming ODF portals requests.
Incoming requests are allowed if client IP is allowed.
-
-
Field Summary
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description ODFAuthenticateAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getConfigParameter()
Get the config parameter name contained the allowed IP adresses.protected String
getExceptionMessage()
Get the exception message if the current IP is not allowed.-
Methods inherited from class org.ametys.workspaces.odf.AbstractODFAuthenticateAction
act, authenticate
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
ODFAuthenticateAction
public ODFAuthenticateAction()
-
-
Method Detail
-
getConfigParameter
protected String getConfigParameter()
Description copied from class:AbstractODFAuthenticateAction
Get the config parameter name contained the allowed IP adresses.- Specified by:
getConfigParameter
in classAbstractODFAuthenticateAction
- Returns:
- The parameter name
-
getExceptionMessage
protected String getExceptionMessage()
Description copied from class:AbstractODFAuthenticateAction
Get the exception message if the current IP is not allowed.- Specified by:
getExceptionMessage
in classAbstractODFAuthenticateAction
- Returns:
- The exception message
-
-