| Package | Description |
|---|---|
| org.apache.shiro.aop |
Components used to support the framework's AOP/interception support classes.
|
| 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 | |
| org.apache.shiro.spring.aop |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAnnotationResolver
Default
AnnotationResolver implementation that merely inspects the
MethodInvocation's target method,
and returns targetMethod.getAnnotation(class). |
| Modifier and Type | Method and Description |
|---|---|
AnnotationResolver |
AnnotationMethodInterceptor.getResolver()
Returns the
AnnotationResolver to use to acquire annotations from intercepted
methods at runtime. |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationMethodInterceptor.setResolver(AnnotationResolver resolver)
Returns the
AnnotationResolver to use to acquire annotations from intercepted
methods at runtime. |
| Constructor and Description |
|---|
AnnotationMethodInterceptor(AnnotationHandler handler,
AnnotationResolver resolver)
Constructs an
AnnotationMethodInterceptor with the
AnnotationHandler that will be used to process annotations of a
corresponding type, using the specified AnnotationResolver to acquire annotations
at runtime. |
| Constructor and Description |
|---|
AuthenticatedAnnotationMethodInterceptor(AnnotationResolver resolver) |
AuthorizingAnnotationMethodInterceptor(AuthorizingAnnotationHandler handler,
AnnotationResolver resolver) |
GuestAnnotationMethodInterceptor(AnnotationResolver resolver) |
PermissionAnnotationMethodInterceptor(AnnotationResolver resolver) |
RoleAnnotationMethodInterceptor(AnnotationResolver resolver) |
UserAnnotationMethodInterceptor(AnnotationResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
protected AnnotationResolver |
ShiroAopModule.createAnnotationResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ShiroAopModule.configureDefaultInterceptors(AnnotationResolver resolver) |
protected void |
ShiroAopModule.configureInterceptors(AnnotationResolver resolver) |
| Modifier and Type | Class and Description |
|---|---|
class |
SpringAnnotationResolver
AnnotationResolver implementation that uses Spring's more robust
AnnotationUtils to find method annotations instead of the JDKs simpler
(and rather lacking) Method.getAnnotation(class)
implementation. |
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.