@Named(value="shiro") public class ShiroActionHandler extends AbstractActionHandler
SUFFIX
Constructor and Description |
---|
ShiroActionHandler() |
Modifier and Type | Method and Description |
---|---|
Object[] |
before(Action action,
Object[] args) |
void |
configure(Action action,
Method method) |
boolean |
isAuthorized(Action action)
Evaluates if the given
Action is authorized given the security constraints applied to it
and the current Subject . |
abortActionExecution, after, exception, update
public void configure(@Nonnull Action action, @Nonnull Method method)
configure
in interface ActionHandler
configure
in class AbstractActionHandler
public boolean isAuthorized(@Nonnull Action action)
Action
is authorized given the security constraints applied to it
and the current Subject
.action
- the Action
to verify.Action
meets the security requirements, false otherwise.@Nonnull public Object[] before(@Nonnull Action action, @Nonnull Object[] args)
before
in interface ActionHandler
before
in class AbstractActionHandler