public class GuestAnnotationMethodInterceptor extends AuthorizingAnnotationMethodInterceptor
RequiresGuest annotation
is declared, and if so, ensures the calling Subject does not
have an identity before invoking the method.
This annotation essentially ensures that subject..getPrincipal() == null
| Constructor and Description |
|---|
GuestAnnotationMethodInterceptor()
Default no-argument constructor that ensures this interceptor looks for
RequiresGuest annotations in a method
declaration. |
GuestAnnotationMethodInterceptor(AnnotationResolver resolver) |
assertAuthorized, invokegetAnnotation, getHandler, getResolver, setHandler, setResolver, supportsgetSubjectpublic GuestAnnotationMethodInterceptor()
RequiresGuest annotations in a method
declaration.public GuestAnnotationMethodInterceptor(AnnotationResolver resolver)
resolver - Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.