Class BasicAuthenticationAuthModule

java.lang.Object
org.eclipse.jetty.security.jaspi.modules.BaseAuthModule
org.eclipse.jetty.security.jaspi.modules.BasicAuthenticationAuthModule
All Implemented Interfaces:
javax.security.auth.message.config.ServerAuthContext, javax.security.auth.message.module.ServerAuthModule, javax.security.auth.message.ServerAuth

public class BasicAuthenticationAuthModule extends BaseAuthModule
A ServerAuthModule implementation of HTTP Basic Authentication.
  • Constructor Details

    • BasicAuthenticationAuthModule

      public BasicAuthenticationAuthModule()
    • BasicAuthenticationAuthModule

      public BasicAuthenticationAuthModule(CallbackHandler callbackHandler, String realmName)
  • Method Details

    • initialize

      public void initialize(javax.security.auth.message.MessagePolicy requestPolicy, javax.security.auth.message.MessagePolicy responsePolicy, CallbackHandler callbackHandler, Map options) throws javax.security.auth.message.AuthException
      Specified by:
      initialize in interface javax.security.auth.message.module.ServerAuthModule
      Overrides:
      initialize in class BaseAuthModule
      Throws:
      javax.security.auth.message.AuthException
    • validateRequest

      public javax.security.auth.message.AuthStatus validateRequest(javax.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws javax.security.auth.message.AuthException
      Throws:
      javax.security.auth.message.AuthException