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 AuthenticationStatusSecurityContext. 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 AuthenticationStatusAuthenticationStatus. 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 AuthenticationStatusHttpMessageContext. doNothing()Instructs the container to "do nothing".AuthenticationStatusHttpMessageContextWrapper. doNothing()AuthenticationStatusHttpMessageContext. forward(java.lang.String path)Forwards to another resource (Jakarta Servlet, Jakarta Server Pages file, or HTML file) on the server.AuthenticationStatusHttpMessageContextWrapper. forward(java.lang.String path)AuthenticationStatusHttpMessageContext. notifyContainerAboutLogin(CredentialValidationResult result)Convenience method intended to pass theCredentialValidationResultresult of an identity store directly on to the container.AuthenticationStatusHttpMessageContext. 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.AuthenticationStatusHttpMessageContext. 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.AuthenticationStatusHttpMessageContextWrapper. notifyContainerAboutLogin(CredentialValidationResult result)AuthenticationStatusHttpMessageContextWrapper. notifyContainerAboutLogin(java.lang.String username, java.util.Set<java.lang.String> roles)AuthenticationStatusHttpMessageContextWrapper. notifyContainerAboutLogin(java.security.Principal principal, java.util.Set<java.lang.String> roles)AuthenticationStatusHttpMessageContext. redirect(java.lang.String location)Sets the response status to SC_FOUND 302 (Found)AuthenticationStatusHttpMessageContextWrapper. redirect(java.lang.String location)AuthenticationStatusHttpMessageContext. responseNotFound()Sets the response status to 404 (not found).AuthenticationStatusHttpMessageContextWrapper. responseNotFound()AuthenticationStatusHttpMessageContext. responseUnauthorized()Sets the response status to 401 (unauthorized).AuthenticationStatusHttpMessageContextWrapper. responseUnauthorized()default AuthenticationStatusHttpAuthenticationMechanism. secureResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, HttpMessageContext httpMessageContext)Secure the response, optionally.AuthenticationStatusHttpAuthenticationMechanism. validateRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, HttpMessageContext httpMessageContext)Authenticate an HTTP request.