Uses of Class
org.apache.shiro.aop.AnnotationHandler
-
Packages that use AnnotationHandler 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. -
-
Uses of AnnotationHandler in org.apache.shiro.aop
Methods in org.apache.shiro.aop that return AnnotationHandler Modifier and Type Method Description AnnotationHandler
AnnotationMethodInterceptor. getHandler()
Returns theAnnotationHandler
used to perform authorization behavior based on an annotation discovered at runtime.Methods in org.apache.shiro.aop with parameters of type AnnotationHandler Modifier and Type Method Description void
AnnotationMethodInterceptor. setHandler(AnnotationHandler handler)
Sets theAnnotationHandler
used to perform authorization behavior based on an annotation discovered at runtime.Constructors in org.apache.shiro.aop with parameters of type AnnotationHandler Constructor Description AnnotationMethodInterceptor(AnnotationHandler handler)
Constructs anAnnotationMethodInterceptor
with theAnnotationHandler
that will be used to process annotations of a corresponding type.AnnotationMethodInterceptor(AnnotationHandler handler, AnnotationResolver resolver)
Constructs anAnnotationMethodInterceptor
with theAnnotationHandler
that will be used to process annotations of a corresponding type, using the specifiedAnnotationResolver
to acquire annotations at runtime. -
Uses of AnnotationHandler in org.apache.shiro.authz.aop
Subclasses of AnnotationHandler in org.apache.shiro.authz.aop Modifier and Type Class Description class
AuthenticatedAnnotationHandler
HandlesRequiresAuthentication
annotations and ensures the calling subject is authenticated before allowing access.class
AuthorizingAnnotationHandler
An AnnotationHandler that executes authorization (access control) behavior based on directive(s) found in a JSR-175 Annotation.class
GuestAnnotationHandler
Checks to see if a @RequiresGuest
annotation is declared, and if so, ensures the callingSubject
does not have anidentity
before invoking the method.class
PermissionAnnotationHandler
Checks to see if a @RequiresPermissions
annotation is declared, and if so, performs a permission check to see if the callingSubject
is allowed continued access.class
RoleAnnotationHandler
Checks to see if a @RequiresRoles
annotation is declared, and if so, performs a role check to see if the callingSubject
is allowed to proceed.class
UserAnnotationHandler
Checks to see if a @RequiresUser
annotation is declared, and if so, ensures the callingSubject
is eitherauthenticated
or remembered via remember me services before allowing access.
-