public class PermissionAnnotationMethodInterceptor extends AuthorizingAnnotationMethodInterceptor
RequiresPermissions annotation is declared, and if so, performs
a permission check to see if the calling Subject is allowed to call the method.| Constructor and Description |
|---|
PermissionAnnotationMethodInterceptor()
Default no-argument constructor that ensures this interceptor looks for
RequiresPermissions annotations in a method declaration. |
PermissionAnnotationMethodInterceptor(AnnotationResolver resolver) |
assertAuthorized, invokegetAnnotation, getHandler, getResolver, setHandler, setResolver, supportsgetSubjectpublic PermissionAnnotationMethodInterceptor()
RequiresPermissions annotations in a method declaration.public PermissionAnnotationMethodInterceptor(AnnotationResolver resolver)
resolver - Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.