Class AssertionConsumer
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
io.deephaven.enterprise.samlauth.servlets.AssertionConsumer
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class AssertionConsumer
extends jakarta.servlet.http.HttpServlet
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Invoked on response from the saml IdP.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
AssertionConsumer
-
-
Method Details
-
doPost
protected void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException Invoked on response from the saml IdP. When triggered, this method will verify a number of required conditions (such as previous registration of nonce & requestId in theLoginRequest.doGet(HttpServletRequest, HttpServletResponse)method, presence ofSAMLConstants.DEFAULT_SAML_USER_NAME, etc). On successful completion of these checks, the user's browser will be sent a redirect to a landing page. Note that successful completion at this method (at the client-browser facing side) does not fully complete the login process; the auth-server must verify the nonce and response back to the DH front-end successfully after this method-call in order to complete the front-end login-request- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Parameters:
request- standard HttpServletRequest; contains inbound request and stored sessionresponse- standard HttpServletResponse; may be output or redirect- Throws:
IOException- thrown if unable to get response writer object
-