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
A
ServerAuthModule
implementation of HTTP Basic Authentication.-
Field Summary
Fields inherited from class org.eclipse.jetty.security.jaspi.modules.BaseAuthModule
callbackHandler, LOGIN_SERVICE_KEY
-
Constructor Summary
ConstructorDescriptionBasicAuthenticationAuthModule
(CallbackHandler callbackHandler, String realmName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(jakarta.security.auth.message.MessagePolicy requestPolicy, jakarta.security.auth.message.MessagePolicy responsePolicy, CallbackHandler callbackHandler, Map options) jakarta.security.auth.message.AuthStatus
validateRequest
(jakarta.security.auth.message.MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) Methods inherited from class org.eclipse.jetty.security.jaspi.modules.BaseAuthModule
cleanSubject, getSupportedMessageTypes, isMandatory, login, login, secureResponse
-
Constructor Details
-
BasicAuthenticationAuthModule
public BasicAuthenticationAuthModule() -
BasicAuthenticationAuthModule
-
-
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 interfacejakarta.security.auth.message.module.ServerAuthModule
- Overrides:
initialize
in classBaseAuthModule
- 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
-