Uses of Class
jakarta.security.auth.message.AuthStatus
| Package | Description |
|---|---|
| jakarta.security.auth.message |
This package defines the core interfaces of Jakarta Authentication.
|
-
Uses of AuthStatus in jakarta.security.auth.message
Fields in jakarta.security.auth.message declared as AuthStatus Modifier and Type Field Description static AuthStatusAuthStatus. FAILUREIndicates that the message processing by the authentication module was NOT successful, and that the module replaced the application message with an error message.static AuthStatusAuthStatus. SEND_CONTINUEIndicates 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 AuthStatusAuthStatus. SEND_FAILUREIndicates 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 AuthStatusAuthStatus. SEND_SUCCESSIndicates 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 AuthStatusAuthStatus. SUCCESSIndicates 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.Methods in jakarta.security.auth.message that return AuthStatus Modifier and Type Method Description AuthStatusClientAuth. secureRequest(MessageInfo messageInfo, Subject clientSubject)Secure a service request message before sending it to the service.AuthStatusServerAuth. secureResponse(MessageInfo messageInfo, Subject serviceSubject)Secure a service response before sending it to the client.AuthStatusServerAuth. validateRequest(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject)Authenticate a received service request.AuthStatusClientAuth. validateResponse(MessageInfo messageInfo, Subject clientSubject, Subject serviceSubject)Validate a received service response.