Class BasicAuthenticationAuthModule

java.lang.Object
org.eclipse.jetty.ee8.security.jaspi.modules.BaseAuthModule
org.eclipse.jetty.ee8.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 Link icon

    • BasicAuthenticationAuthModule Link icon

      public BasicAuthenticationAuthModule()
    • BasicAuthenticationAuthModule Link icon

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

    • initialize Link icon

      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 Link icon

      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