|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.griffon.runtime.core.controller.AbstractGriffonControllerActionInterceptor
org.codehaus.griffon.runtime.shiro.ShiroGriffonControllerActionInterceptor
public class ShiroGriffonControllerActionInterceptor extends AbstractGriffonControllerActionInterceptor
| Nested Class Summary | |
|---|---|
private static class |
ShiroGriffonControllerActionInterceptor.ActionRequirement
|
private static class |
ShiroGriffonControllerActionInterceptor.AuthenticationRequirementEvaluator
|
private static class |
ShiroGriffonControllerActionInterceptor.GuestRequirementEvaluator
|
private static class |
ShiroGriffonControllerActionInterceptor.PermissionsRequirementEvaluator
|
private enum |
ShiroGriffonControllerActionInterceptor.Requirement
|
private static class |
ShiroGriffonControllerActionInterceptor.RequirementConfiguration
|
private static interface |
ShiroGriffonControllerActionInterceptor.RequirementEvaluator
|
private static class |
ShiroGriffonControllerActionInterceptor.RolesRequirementEvaluator
|
| Field Summary | |
|---|---|
private static String |
DEFAULT_SECURITY_FAILURE_HANDLER
|
private static String |
KEY_SECURITY_FAILURE_HANDLER
|
private org.slf4j.Logger |
LOG
|
private Map |
requirementsPerAction
|
SecurityFailureHandler |
securityFailureHandler
|
| Constructor Summary | |
ShiroGriffonControllerActionInterceptor()
|
|
| Method Summary | |
|---|---|
Object[]
|
before(GriffonController controller, String actionName, Object[] args)
|
void
|
configure(GriffonController controller, String actionName, Method method)
|
void
|
configure(GriffonController controller, String actionName, Field closure)
|
private void
|
configureAction(GriffonController controller, String actionName, AnnotatedElement annotatedElement)
|
private void
|
processRequiresAuthentication(RequiresAuthentication annotation, Map requirements)
|
private void
|
processRequiresGuest(RequiresGuest annotation, Map requirements)
|
private void
|
processRequiresPermissions(RequiresPermissions annotation, Map requirements)
|
private void
|
processRequiresRoles(RequiresRoles annotation, Map requirements)
|
void
|
setApp(GriffonApplication app)
|
ShiroGriffonControllerActionInterceptor
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
ShiroGriffonControllerActionInterceptor[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class AbstractGriffonControllerActionInterceptor | |
|---|---|
| after, before, exception, configure, configure, getApp, setApp, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private static final String DEFAULT_SECURITY_FAILURE_HANDLER
private static final String KEY_SECURITY_FAILURE_HANDLER
private final org.slf4j.Logger LOG
private final Map requirementsPerAction
SecurityFailureHandler securityFailureHandler
| Constructor Detail |
|---|
ShiroGriffonControllerActionInterceptor()
| Method Detail |
|---|
public Object[] before(GriffonController controller, String actionName, Object[] args)
public void configure(GriffonController controller, String actionName, Method method)
public void configure(GriffonController controller, String actionName, Field closure)
private void configureAction(GriffonController controller, String actionName, AnnotatedElement annotatedElement)
private void processRequiresAuthentication(RequiresAuthentication annotation, Map requirements)
private void processRequiresGuest(RequiresGuest annotation, Map requirements)
private void processRequiresPermissions(RequiresPermissions annotation, Map requirements)
private void processRequiresRoles(RequiresRoles annotation, Map requirements)
@Overridepublic void setApp(GriffonApplication app) {
public void setApp(GriffonApplication app)
ShiroGriffonControllerActionInterceptor valueOf(String name)
ShiroGriffonControllerActionInterceptor[] values()
Groovy Documentation