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
Special authentication process for incoming ODF portals requests.
Incoming requests are allowed if client IP is allowed.
Incoming requests are allowed if client IP is allowed.
-
Field Summary
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
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 Details
-
ODFAuthenticateAction
public ODFAuthenticateAction()
-
-
Method Details
-
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
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
-