Package org.forgerock.am.saml2.impl
Class Saml2Proxy
java.lang.Object
org.forgerock.am.saml2.impl.Saml2Proxy
Called on the way back into the SAML2 Authentication Module
by the saml2AuthAssertionConsumer jsp.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessSamlResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Processes the SAML response for the SAML2 authentication module and then directs the user back to the authentication process differently for XUI and non-XUI cases.
-
Constructor Details
-
Saml2Proxy
public Saml2Proxy()Constructs a new Saml2Proxy instance.
-
-
Method Details
-
processSamlResponse
public void processSamlResponse(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, SAML2Exception Processes the SAML response for the SAML2 authentication module and then directs the user back to the authentication process differently for XUI and non-XUI cases.- Parameters:
request- The HTTP request.response- The HTTP response.- Throws:
IOException- If there was an IO error while retrieving the SAML response.SAML2Exception- If the RelayState is invalid.
-