Uses of Class
jakarta.security.enterprise.AuthenticationStatus
Package | Description |
---|---|
jakarta.security.enterprise |
The main Jakarta Security package.
|
jakarta.security.enterprise.authentication.mechanism.http |
The HTTP authentication mechanism API package.
|
-
Uses of AuthenticationStatus in jakarta.security.enterprise
Methods in jakarta.security.enterprise that return AuthenticationStatus Modifier and Type Method Description AuthenticationStatus
SecurityContext. authenticate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.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
AuthenticationStatus. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthenticationStatus[]
AuthenticationStatus. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of AuthenticationStatus in jakarta.security.enterprise.authentication.mechanism.http
Methods in jakarta.security.enterprise.authentication.mechanism.http that return AuthenticationStatus Modifier and Type Method Description AuthenticationStatus
HttpMessageContext. doNothing()
Instructs the container to "do nothing".AuthenticationStatus
HttpMessageContextWrapper. doNothing()
AuthenticationStatus
HttpMessageContext. forward(java.lang.String path)
Forwards to another resource (Jakarta Servlet, Jakarta Server Pages file, or HTML file) on the server.AuthenticationStatus
HttpMessageContextWrapper. forward(java.lang.String path)
AuthenticationStatus
HttpMessageContext. notifyContainerAboutLogin(CredentialValidationResult result)
Convenience method intended to pass theCredentialValidationResult
result of an identity store directly on to the container.AuthenticationStatus
HttpMessageContext. notifyContainerAboutLogin(java.lang.String callername, java.util.Set<java.lang.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.AuthenticationStatus
HttpMessageContext. notifyContainerAboutLogin(java.security.Principal principal, java.util.Set<java.lang.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.AuthenticationStatus
HttpMessageContextWrapper. notifyContainerAboutLogin(CredentialValidationResult result)
AuthenticationStatus
HttpMessageContextWrapper. notifyContainerAboutLogin(java.lang.String username, java.util.Set<java.lang.String> roles)
AuthenticationStatus
HttpMessageContextWrapper. notifyContainerAboutLogin(java.security.Principal principal, java.util.Set<java.lang.String> roles)
AuthenticationStatus
HttpMessageContext. redirect(java.lang.String location)
Sets the response status to SC_FOUND 302 (Found)AuthenticationStatus
HttpMessageContextWrapper. redirect(java.lang.String location)
AuthenticationStatus
HttpMessageContext. responseNotFound()
Sets the response status to 404 (not found).AuthenticationStatus
HttpMessageContextWrapper. responseNotFound()
AuthenticationStatus
HttpMessageContext. responseUnauthorized()
Sets the response status to 401 (unauthorized).AuthenticationStatus
HttpMessageContextWrapper. responseUnauthorized()
default AuthenticationStatus
HttpAuthenticationMechanism. secureResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, HttpMessageContext httpMessageContext)
Secure the response, optionally.AuthenticationStatus
HttpAuthenticationMechanism. validateRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, HttpMessageContext httpMessageContext)
Authenticate an HTTP request.