Class BasicAuthenticationAuthModule

java.lang.Object
org.eclipse.jetty.security.jaspi.modules.BaseAuthModule
org.eclipse.jetty.security.jaspi.modules.BasicAuthenticationAuthModule
All Implemented Interfaces:
jakarta.security.auth.message.config.ServerAuthContext, jakarta.security.auth.message.module.ServerAuthModule, jakarta.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(jakarta.security.auth.message.MessagePolicy requestPolicy, jakarta.security.auth.message.MessagePolicy responsePolicy, CallbackHandler callbackHandler, Map options) throws jakarta.security.auth.message.AuthException
      Specified by:
      initialize in interface jakarta.security.auth.message.module.ServerAuthModule
      Overrides:
      initialize in class BaseAuthModule
      Throws:
      jakarta.security.auth.message.AuthException
    • validateRequest

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