Class SecurityIdentityInterceptor

  • All Implemented Interfaces:
    Interceptor

    public final class SecurityIdentityInterceptor
    extends Object
    implements Interceptor
    An interceptor which executes under the invocation's SecurityIdentity.
    Author:
    David M. Lloyd
    • Method Detail

      • getFactory

        public static InterceptorFactory getFactory()
        Get a factory which returns the singleton instance.
        Returns:
        a factory which returns the singleton instance
      • processInvocation

        public Object processInvocation​(InterceptorContext context)
                                 throws Exception
        Process an invocation. The invocation can be handled directly, or passed on to the next processor in the chain.
        Specified by:
        processInvocation in interface Interceptor
        Parameters:
        context - the interceptor context
        Returns:
        the result of the invocation
        Throws:
        Exception - If the underlying invocation resulted in some exception