Package | Description |
---|---|
javax.security.auth.message |
This package defines the core interfaces of the JSR 196 message authentication SPI.
|
Modifier and Type | Field and Description |
---|---|
static AuthStatus |
AuthStatus.FAILURE
Indicates that the message processing by the authentication module
was NOT successful, and that the module replaced the application
message with an error message.
|
static AuthStatus |
AuthStatus.SEND_CONTINUE
Indicates the message processing by the authentication module
is NOT complete, that the module replaced the application
message with a security message, and that the runtime is to proceed
by sending the security message.
|
static AuthStatus |
AuthStatus.SEND_FAILURE
Indicates that the message processing by the authentication module
was NOT successful, that the module replaced the application
message with an error message, and that the runtime is to proceed
by sending the error message.
|
static AuthStatus |
AuthStatus.SEND_SUCCESS
Indicates that the message processing by the authentication module
was successful and that the runtime is to proceed by sending
a message returned by the authentication module.
|
static AuthStatus |
AuthStatus.SUCCESS
Indicates that the message processing by the authentication module
was successful and that the runtime is to proceed with its normal
processing of the resulting message.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.