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.
|
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 |
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 | Field and Description |
---|---|
protected Collection<AuthorizingAnnotationMethodInterceptor> |
AnnotationsAuthorizingMethodInterceptor.methodInterceptors
The method interceptors to execute for the annotated method.
|
Modifier and Type | Method and Description |
---|---|
Collection<AuthorizingAnnotationMethodInterceptor> |
AnnotationsAuthorizingMethodInterceptor.getMethodInterceptors()
Returns the method interceptors to execute for the annotated method.
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationsAuthorizingMethodInterceptor.setMethodInterceptors(Collection<AuthorizingAnnotationMethodInterceptor> methodInterceptors)
Sets the method interceptors to execute for the annotated method.
|
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.