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, invoke
getAnnotation, getHandler, getResolver, setHandler, setResolver, supports
getSubject
public AuthenticatedAnnotationMethodInterceptor()
RequiresAuthentication
annotations in a method
declaration.public AuthenticatedAnnotationMethodInterceptor(AnnotationResolver resolver)
resolver
- Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.