| Package | Description | 
|---|---|
| jakarta.security.enterprise | 
 The main Jakarta Security package. 
 | 
| jakarta.security.enterprise.authentication.mechanism.http | 
 The HTTP authentication mechanism API package. 
 | 
| jakarta.servlet.http | 
 The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container. 
 | 
| jakarta.servlet.jsp | 
| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
HttpServletResponse | 
HttpMessageContextWrapper.getResponse()  | 
HttpServletResponse | 
HttpMessageContext.getResponse()
Returns the response object associated with the current request. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default void | 
HttpAuthenticationMechanism.cleanSubject(HttpServletRequest request,
            HttpServletResponse response,
            HttpMessageContext httpMessageContext)
Remove mechanism specific principals and credentials from the subject and any other state the mechanism
 might have used. 
 | 
default AuthenticationStatus | 
HttpAuthenticationMechanism.secureResponse(HttpServletRequest request,
              HttpServletResponse response,
              HttpMessageContext httpMessageContext)
Secure the response, optionally. 
 | 
void | 
HttpMessageContextWrapper.setResponse(HttpServletResponse response)  | 
void | 
HttpMessageContext.setResponse(HttpServletResponse response)
Set the response object. 
 | 
AuthenticationStatus | 
HttpAuthenticationMechanism.validateRequest(HttpServletRequest request,
               HttpServletResponse response,
               HttpMessageContext httpMessageContext)
Authenticate an HTTP request. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
HttpServletResponseWrapper
Provides a convenient implementation of the HttpServletResponse interface that can be subclassed by developers
 wishing to adapt the response from a Servlet. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
HttpServletRequestWrapper.authenticate(HttpServletResponse response)
The default behavior of this method is to call authenticate on the wrapped request object. 
 | 
boolean | 
HttpServletRequest.authenticate(HttpServletResponse response)
Use the container login mechanism configured for the  
ServletContext to authenticate the user making this
 request. | 
protected void | 
HttpServlet.doDelete(HttpServletRequest req,
        HttpServletResponse resp)
Called by the server (via the  
service method) to allow a servlet to handle a DELETE request. | 
protected void | 
HttpFilter.doFilter(HttpServletRequest req,
        HttpServletResponse res,
        FilterChain chain)
 The  
doFilter method of the Filter is called by the container each time a request/response pair is passed
 through the chain due to a client request for a resource at the end of the chain. | 
protected void | 
HttpServlet.doGet(HttpServletRequest req,
     HttpServletResponse resp)
Called by the server (via the  
service method) to allow a servlet to handle a GET request. | 
protected void | 
HttpServlet.doHead(HttpServletRequest req,
      HttpServletResponse resp)
 Receives an HTTP HEAD request from the protected  
service method and handles the request. | 
protected void | 
HttpServlet.doOptions(HttpServletRequest req,
         HttpServletResponse resp)
Called by the server (via the  
service method) to allow a servlet to handle a OPTIONS request. | 
protected void | 
HttpServlet.doPost(HttpServletRequest req,
      HttpServletResponse resp)
Called by the server (via the  
service method) to allow a servlet to handle a POST request. | 
protected void | 
HttpServlet.doPut(HttpServletRequest req,
     HttpServletResponse resp)
Called by the server (via the  
service method) to allow a servlet to handle a PUT request. | 
protected void | 
HttpServlet.doTrace(HttpServletRequest req,
       HttpServletResponse resp)
Called by the server (via the  
service method) to allow a servlet to handle a TRACE request. | 
protected void | 
HttpServlet.service(HttpServletRequest req,
       HttpServletResponse resp)
Receives standard HTTP requests from the public  
service method and dispatches them to the
 doXXX methods defined in this class. | 
| Constructor and Description | 
|---|
HttpServletResponseWrapper(HttpServletResponse response)
Constructs a response adaptor wrapping the given response. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
HttpJspPage._jspService(HttpServletRequest request,
           HttpServletResponse response)
The _jspService()method corresponds to the body of the JSP page. 
 | 
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.