Package | Description |
---|---|
org.apache.shiro.authz.aop |
Contains AOP implementation support classes specifically used for authorization operations, particularly supporting
AOP Method Interceptors and JSR-175 metadata Annotations.
|
org.apache.shiro.guice.aop |
Modifier and Type | Class and Description |
---|---|
class |
AuthenticatedAnnotationMethodInterceptor
Checks to see if a @
RequiresAuthenticated annotation
is declared, and if so, ensures the calling
Subject .isAuthenticated() before invoking
the method. |
class |
AuthorizingAnnotationMethodInterceptor
An AnnotationMethodInterceptor that asserts the calling code is authorized to execute the method
before allowing the invocation to continue by inspecting code annotations to perform an access control check.
|
class |
GuestAnnotationMethodInterceptor
Checks to see if a @
RequiresGuest annotation
is declared, and if so, ensures the calling Subject does not
have an identity before invoking the method. |
class |
PermissionAnnotationMethodInterceptor
Checks to see if a @
RequiresPermissions annotation is declared, and if so, performs
a permission check to see if the calling Subject is allowed to call the method. |
class |
RoleAnnotationMethodInterceptor
Checks to see if a @
RequiresRoles annotation is declared, and if so, performs
a role check to see if the calling Subject is allowed to invoke the method. |
class |
UserAnnotationMethodInterceptor
Checks to see if a @
RequiresUser annotation
is declared, and if so, ensures the calling Subject is either
authenticated or remembered via remember
me services before invoking the method. |
Modifier and Type | Method and Description |
---|---|
protected void |
ShiroAopModule.bindShiroInterceptor(AnnotationMethodInterceptor methodInterceptor) |
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.