Package org.ametys.core.authentication
Class IsGrantedAction
- java.lang.Object
 - 
- org.ametys.core.authentication.IsGrantedAction
 
 
- 
- All Implemented Interfaces:
 Component,Configurable,Action
public class IsGrantedAction extends Object implements 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
Fields Modifier and Type Field Description private boolean_isGranted 
- 
Constructor Summary
Constructors Constructor Description IsGrantedAction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)voidconfigure(Configuration configuration) 
 - 
 
- 
- 
Field Detail
- 
_isGranted
private boolean _isGranted
 
 - 
 
- 
Constructor Detail
- 
IsGrantedAction
public IsGrantedAction()
 
 - 
 
- 
Method Detail
- 
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
 configurein interfaceConfigurable- Throws:
 ConfigurationException
 
- 
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
 
 - 
 
 -