| Package | Description | 
|---|---|
| javax.security.enterprise | 
 The main Jakarta Security package. 
 | 
| javax.security.enterprise.authentication.mechanism.http | 
 The HTTP authentication mechanism API package. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AuthenticationStatus | 
SecurityContext.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 | 
AuthenticationStatus.valueOf(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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AuthenticationStatus | 
HttpMessageContextWrapper.doNothing()  | 
AuthenticationStatus | 
HttpMessageContext.doNothing()
Instructs the container to "do nothing". 
 | 
AuthenticationStatus | 
HttpMessageContextWrapper.forward(String path)  | 
AuthenticationStatus | 
HttpMessageContext.forward(String path)
Forwards to another resource (Jakarta Servlet, Jakarta Server Pages file, or HTML file) on the server. 
 | 
AuthenticationStatus | 
HttpMessageContextWrapper.notifyContainerAboutLogin(CredentialValidationResult result)  | 
AuthenticationStatus | 
HttpMessageContext.notifyContainerAboutLogin(CredentialValidationResult result)
Convenience method intended to pass the  
CredentialValidationResult result of an 
 identity store directly on to the container. | 
AuthenticationStatus | 
HttpMessageContextWrapper.notifyContainerAboutLogin(Principal principal,
                         Set<String> roles)  | 
AuthenticationStatus | 
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 with  
SecurityContext.isCallerInRole(String) etc. | 
AuthenticationStatus | 
HttpMessageContextWrapper.notifyContainerAboutLogin(String username,
                         Set<String> roles)  | 
AuthenticationStatus | 
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 with  
SecurityContext.isCallerInRole(String) etc. | 
AuthenticationStatus | 
HttpMessageContextWrapper.redirect(String location)  | 
AuthenticationStatus | 
HttpMessageContext.redirect(String location)
Sets the response status to SC_FOUND 302 (Found) 
 | 
AuthenticationStatus | 
HttpMessageContextWrapper.responseNotFound()  | 
AuthenticationStatus | 
HttpMessageContext.responseNotFound()
Sets the response status to 404 (not found). 
 | 
AuthenticationStatus | 
HttpMessageContextWrapper.responseUnauthorized()  | 
AuthenticationStatus | 
HttpMessageContext.responseUnauthorized()
Sets the response status to 401 (unauthorized). 
 | 
default AuthenticationStatus | 
HttpAuthenticationMechanism.secureResponse(HttpServletRequest request,
              HttpServletResponse response,
              HttpMessageContext httpMessageContext)
Secure the response, optionally. 
 | 
AuthenticationStatus | 
HttpAuthenticationMechanism.validateRequest(HttpServletRequest request,
               HttpServletResponse response,
               HttpMessageContext httpMessageContext)
Authenticate an HTTP request. 
 | 
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.