Uses of Enum Class
jakarta.security.enterprise.AuthenticationStatus
Package
Description
The main Jakarta Security package.
The HTTP authentication mechanism API package.
-
Uses of AuthenticationStatus in jakarta.security.enterprise
Modifier and TypeMethodDescriptionSecurityContext.authenticate
(HttpServletRequest request, HttpServletResponse response, AuthenticationParameters parameters) Signal to the container (programmatically trigger) that it should start or continue a web/HTTP based authentication dialog with the caller.static AuthenticationStatus
Returns the enum constant of this class with the specified name.static AuthenticationStatus[]
AuthenticationStatus.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of AuthenticationStatus in jakarta.security.enterprise.authentication.mechanism.http
Modifier and TypeMethodDescriptionHttpMessageContext.doNothing()
Instructs the container to "do nothing".HttpMessageContextWrapper.doNothing()
Forwards to another resource (Jakarta Servlet, Jakarta Server Pages file, or HTML file) on the server.HttpMessageContext.notifyContainerAboutLogin
(CredentialValidationResult result) Convenience method intended to pass theCredentialValidationResult
result of an identity store directly on to the container.HttpMessageContext.notifyContainerAboutLogin
(String callername, Set<String> groups) Asks the container to register the given caller name and groups in order to make them available to the application for use withSecurityContext.isCallerInRole(String)
etc.HttpMessageContext.notifyContainerAboutLogin
(Principal principal, Set<String> groups) Asks the container to register the given caller principal and groups in order to make them available to the application for use withSecurityContext.isCallerInRole(String)
etc.HttpMessageContextWrapper.notifyContainerAboutLogin
(CredentialValidationResult result) HttpMessageContextWrapper.notifyContainerAboutLogin
(String username, Set<String> roles) HttpMessageContextWrapper.notifyContainerAboutLogin
(Principal principal, Set<String> roles) Sets the response status to SC_FOUND 302 (Found)HttpMessageContext.responseNotFound()
Sets the response status to 404 (not found).HttpMessageContextWrapper.responseNotFound()
HttpMessageContext.responseUnauthorized()
Sets the response status to 401 (unauthorized).HttpMessageContextWrapper.responseUnauthorized()
default AuthenticationStatus
HttpAuthenticationMechanism.secureResponse
(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) Secure the response, optionally.HttpAuthenticationMechanismWrapper.secureResponse
(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) HttpAuthenticationMechanism.validateRequest
(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext) Authenticate an HTTP request.HttpAuthenticationMechanismWrapper.validateRequest
(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext)