- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class InternalAuthenticationInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor
Allows running a given code within a security context authenticated with InternalAuthenticationToken.
This only works for instances created by Guice. If there's already an Authentication in current security context
that will be restored after calling the annotated method.