Package org.ametys.workspaces.odfsync
Class ODFSyncAuthenticateAction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.acting.AbstractAction
org.ametys.workspaces.odf.AbstractODFAuthenticateAction
org.ametys.workspaces.odfsync.ODFSyncAuthenticateAction
- All Implemented Interfaces:
Component
,LogEnabled
,Action
Special authentication process for incoming CDM-fr.
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
Modifier and TypeMethodDescriptionprotected void
authenticate
(Request request) Method to authenticateprotected String
Get the config parameter name contained the allowed IP adresses.protected String
Get the exception message if the current IP is not allowed.Methods inherited from class org.ametys.workspaces.odf.AbstractODFAuthenticateAction
act
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
ODFSyncAuthenticateAction
public ODFSyncAuthenticateAction()
-
-
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
-
authenticate
Description copied from class:AbstractODFAuthenticateAction
Method to authenticate- Overrides:
authenticate
in classAbstractODFAuthenticateAction
- Parameters:
request
- The request
-