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
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
(javax.security.auth.message.MessagePolicy requestPolicy, javax.security.auth.message.MessagePolicy responsePolicy, CallbackHandler callbackHandler, Map options) javax.security.auth.message.AuthStatus
validateRequest
(javax.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(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 interfacejavax.security.auth.message.module.ServerAuthModule
- Overrides:
initialize
in classBaseAuthModule
- 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
-