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 |
AuthenticatedAnnotationHandler
Handles
RequiresAuthentication annotations and ensures the calling subject is
authenticated before allowing access. |
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. |
Constructor and Description |
---|
AuthorizingAnnotationMethodInterceptor(AuthorizingAnnotationHandler handler)
Constructor that ensures the internal
handler is set which will be used to perform the
authorization assertion checks when a supported annotation is encountered. |
AuthorizingAnnotationMethodInterceptor(AuthorizingAnnotationHandler handler,
AnnotationResolver resolver) |
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.