ServerAuthModule implementations that
only provide the module. This implementation supports multiple modules and will treat the user as authenticated if
any one module is able to authenticate the user.
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | cleanSubject(MessageInfo
The associated request and response messageInfo, Subject The subject to clean subject)Overrides default jakarta. Remove principals and/or credentials from the subject that were previously added by this authentication mechanism. |
| public AuthStatus | secureResponse(MessageInfo
The associated request and response messageInfo, Subject The subject that represents the source of the response serviceSubject)Overrides default jakarta. Secure (authenticate) the response. |
| public AuthStatus | validateRequest(MessageInfo
The associated request and response messageInfo, Subject The subject that represents the source of the request clientSubject, Subject The subject that represents the recipient of the request serviceSubject)Implements jakarta. Validate the request. |
| modules | back to summary |
|---|---|
| private final List<ServerAuthModule> modules | |
| SimpleServerAuthContext | back to summary |
|---|---|
| public SimpleServerAuthContext(List<ServerAuthModule> modules) | |
| cleanSubject | back to summary |
|---|---|
| public void cleanSubject(MessageInfo messageInfo, Subject subject) throws AuthException Overrides default jakarta. Doc from jakarta. Remove principals and/or credentials from the subject that were previously added by this authentication mechanism.
| |
| secureResponse | back to summary |
|---|---|
| public AuthStatus secureResponse(MessageInfo messageInfo, Subject serviceSubject) throws AuthException Overrides default jakarta. Doc from jakarta. Secure (authenticate) the response.
| |
| validateRequest | back to summary |
|---|---|
| public AuthStatus validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject) throws AuthException Implements jakarta. Doc from jakarta. Validate the request.
| |