Class GetAuthAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.ametys.plugins.mobileapp.action.GetAuthAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Action
public class GetAuthAction extends AbstractAction
test if the API accepts anonymous users
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
_ANONYMOUS
value when the user can be anonymousprotected static String
_AUTHENTIFIED
value when the user have to be authentified-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description GetAuthAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_AUTHENTIFIED
protected static final String _AUTHENTIFIED
value when the user have to be authentified- See Also:
- Constant Field Values
-
_ANONYMOUS
protected static final String _ANONYMOUS
value when the user can be anonymous- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetAuthAction
public GetAuthAction()
-
-
Method Detail
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
-