Class AbstractSecurityContextInInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.security.AbstractSecurityContextInInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>
Direct Known Subclasses:
AbstractUsernameTokenInInterceptor

public abstract class AbstractSecurityContextInInterceptor extends AbstractPhaseInterceptor<Message>
  • Constructor Details

    • AbstractSecurityContextInInterceptor

      public AbstractSecurityContextInInterceptor()
  • Method Details

    • handleMessage

      public void handleMessage(Message message)
      Description copied from interface: Interceptor
      Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
    • getPrincipal

      protected Principal getPrincipal(Principal originalPrincipal, Subject subject)
    • createSecurityContext

      protected SecurityContext createSecurityContext(Principal p, Subject subject)
    • createSubject

      protected abstract Subject createSubject(SecurityToken token)
    • reportSecurityException

      protected void reportSecurityException(String errorMessage)