Class JAASLoginInterceptor

java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<Message>
org.apache.cxf.interceptor.security.JAASLoginInterceptor
All Implemented Interfaces:
Interceptor<Message>, PhaseInterceptor<Message>

public class JAASLoginInterceptor extends AbstractPhaseInterceptor<Message>
  • Field Details

  • Constructor Details

    • JAASLoginInterceptor

      public JAASLoginInterceptor()
    • JAASLoginInterceptor

      public JAASLoginInterceptor(String phase)
  • Method Details

    • setContextName

      public void setContextName(String name)
    • getContextName

      public String getContextName()
    • setRolePrefix

      @Deprecated public void setRolePrefix(String name)
      Deprecated.
      Parameters:
      name -
    • setRoleClassifier

      public void setRoleClassifier(String value)
    • getRoleClassifier

      public String getRoleClassifier()
    • setRoleClassifierType

      public void setRoleClassifierType(String value)
    • getRoleClassifierType

      public String getRoleClassifierType()
    • setReportFault

      public void setReportFault(boolean reportFault)
    • setUseDoAs

      public void setUseDoAs(boolean useDoAs)
    • 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.
    • getCallbackHandler

      protected CallbackHandler getCallbackHandler(String name, String password)
    • createSecurityContext

      protected SecurityContext createSecurityContext(String name, Subject subject)
    • getLoginConfig

      public Configuration getLoginConfig()
    • setLoginConfig

      public void setLoginConfig(Configuration loginConfig)
    • getCallbackHandlerProviders

      public List<CallbackHandlerProvider> getCallbackHandlerProviders()
    • setCallbackHandlerProviders

      public void setCallbackHandlerProviders(List<CallbackHandlerProvider> callbackHandlerProviders)
    • addCallbackHandlerProviders

      public void addCallbackHandlerProviders(List<CallbackHandlerProvider> callbackHandlerProviders2)
    • setAllowAnonymous

      public void setAllowAnonymous(boolean allowAnonymous)
    • setAllowNamedPrincipals

      public void setAllowNamedPrincipals(boolean allowNamedPrincipals)