|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AnnotationHandler | |
---|---|
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 | |
---|---|
AnnotationHandler |
AnnotationMethodInterceptor.getHandler()
Returns the AnnotationHandler used to perform authorization behavior based on
an annotation discovered at runtime. |
Methods in org.apache.shiro.aop with parameters of type AnnotationHandler | |
---|---|
void |
AnnotationMethodInterceptor.setHandler(AnnotationHandler handler)
Sets the AnnotationHandler used to perform authorization behavior based on
an annotation discovered at runtime. |
Constructors in org.apache.shiro.aop with parameters of type AnnotationHandler | |
---|---|
AnnotationMethodInterceptor(AnnotationHandler handler)
Constructs an AnnotationMethodInterceptor with the
AnnotationHandler that will be used to process annotations of a
corresponding type. |
|
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. |
Uses of AnnotationHandler in org.apache.shiro.authz.aop |
---|
Subclasses of AnnotationHandler in org.apache.shiro.authz.aop | |
---|---|
class |
AuthenticatedAnnotationHandler
Handles RequiresAuthentication 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 calling Subject does not
have an identity 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 calling Subject 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 calling Subject is allowed to proceed. |
class |
UserAnnotationHandler
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 allowing access. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |