Package | Description |
---|---|
javax.security.auth.message |
This package defines the core interfaces of Jakarta Authentication.
|
javax.security.auth.message.config |
This package defines the interfaces implemented by Jakarta Authentication compatible configuration systems.
|
javax.security.auth.message.module |
This package defines the interfaces implemented by Jakarta Authentication compatible authentication mechanisms.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerAuth.cleanSubject(MessageInfo messageInfo,
Subject subject)
Remove method specific principals and credentials from the subject.
|
void |
ClientAuth.cleanSubject(MessageInfo messageInfo,
Subject subject)
Remove implementation specific principals and credentials from the subject.
|
AuthStatus |
ClientAuth.secureRequest(MessageInfo messageInfo,
Subject clientSubject)
Secure a service request message before sending it to the service.
|
AuthStatus |
ServerAuth.secureResponse(MessageInfo messageInfo,
Subject serviceSubject)
Secure a service response before sending it to the client.
|
AuthStatus |
ServerAuth.validateRequest(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject)
Authenticate a received service request.
|
AuthStatus |
ClientAuth.validateResponse(MessageInfo messageInfo,
Subject clientSubject,
Subject serviceSubject)
Validate a received service response.
|
Modifier and Type | Method and Description |
---|---|
ServerAuthContext |
ServerAuthConfig.getAuthContext(String authContextID,
Subject serviceSubject,
Map properties)
Get a ServerAuthContext instance from this ServerAuthConfig.
|
ClientAuthContext |
ClientAuthConfig.getAuthContext(String authContextID,
Subject clientSubject,
Map properties)
Get a ClientAuthContext instance from this ClientAuthConfig.
|
ClientAuthConfig |
AuthConfigProvider.getClientAuthConfig(String layer,
String appContext,
CallbackHandler handler)
Get an instance of ClientAuthConfig from this provider.
|
ServerAuthConfig |
AuthConfigProvider.getServerAuthConfig(String layer,
String appContext,
CallbackHandler handler)
Get an instance of ServerAuthConfig from this provider.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerAuthModule.initialize(MessagePolicy requestPolicy,
MessagePolicy responsePolicy,
CallbackHandler handler,
Map options)
Initialize this module with request and response message policies to enforce, a CallbackHandler, and any
module-specific configuration properties.
|
void |
ClientAuthModule.initialize(MessagePolicy requestPolicy,
MessagePolicy responsePolicy,
CallbackHandler handler,
Map options)
Initialize this module with request and response message policies to enforce, a CallbackHandler, and any
module-specific configuration properties.
|
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.