public class AuthenticatedAnnotationMethodInterceptor extends AuthorizingAnnotationMethodInterceptor
RequiresAuthenticated annotation
is declared, and if so, ensures the calling
Subject.isAuthenticated() before invoking
the method.| Constructor and Description |
|---|
AuthenticatedAnnotationMethodInterceptor()
Default no-argument constructor that ensures this interceptor looks for
RequiresAuthentication annotations in a method
declaration. |
AuthenticatedAnnotationMethodInterceptor(AnnotationResolver resolver) |
assertAuthorized, invokegetAnnotation, getHandler, getResolver, setHandler, setResolver, supportsgetSubjectpublic AuthenticatedAnnotationMethodInterceptor()
RequiresAuthentication annotations in a method
declaration.public AuthenticatedAnnotationMethodInterceptor(AnnotationResolver resolver)
resolver - Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.