Package org.ametys.core.authentication
Class IsGrantedAction
java.lang.Object
org.ametys.core.authentication.IsGrantedAction
- All Implemented Interfaces:
Component
,Configurable
,Action
This action return EMPTY_MAP or null depending if the request was granted or not.
The effect can be revert by a configuration parameter "is-granted"
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) void
configure
(Configuration configuration)
-
Constructor Details
-
IsGrantedAction
public IsGrantedAction()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
-