Class Saml2Proxy

java.lang.Object
org.forgerock.am.saml2.impl.Saml2Proxy

public final class Saml2Proxy extends Object
Called on the way back into the SAML2 Authentication Module by the saml2AuthAssertionConsumer jsp.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new Saml2Proxy instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processSamlResponse(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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.