Uses of Class
org.apache.shiro.authz.aop.AuthorizingAnnotationHandler
Packages that use AuthorizingAnnotationHandler
Package
Description
Contains AOP implementation support classes specifically used for authorization operations, particularly supporting
AOP Method Interceptors and JSR-175 metadata Annotations.
-
Uses of AuthorizingAnnotationHandler in org.apache.shiro.authz.aop
Subclasses of AuthorizingAnnotationHandler in org.apache.shiro.authz.aopModifier and TypeClassDescriptionclassHandlesRequiresAuthenticationannotations and ensures the calling subject is authenticated before allowing access.classThisAnnotationHandlerdenys access from any subject (anonymous or logged in user).classChecks to see if a @RequiresGuestannotation is declared, and if so, ensures the callingSubjectdoes not have anidentitybefore invoking the method.classChecks to see if a @RequiresPermissionsannotation is declared, and if so, performs a permission check to see if the callingSubjectis allowed continued access.classThisAnnotationHandlerallows access from any subject (anonymous or logged in user).classChecks to see if a @RequiresRolesannotation is declared, and if so, performs a role check to see if the callingSubjectis allowed to proceed.classChecks to see if a @RolesAllowedannotation is declared, and if so, performs a role check to see if the callingSubjectis allowed to proceed.classChecks to see if a @RequiresUserannotation is declared, and if so, ensures the callingSubjectis eitherauthenticatedor remembered via remember me services before allowing access.Constructors in org.apache.shiro.authz.aop with parameters of type AuthorizingAnnotationHandlerModifierConstructorDescriptionConstructor that ensures the internalhandleris set which will be used to perform the authorization assertion checks when a supported annotation is encountered.AuthorizingAnnotationMethodInterceptor(AuthorizingAnnotationHandler handler, AnnotationResolver resolver)