code: public org.opensaml.saml.saml2.ecp.Response newEcpResponse(final String assertionConsumerUrl) {
          val samlResponse = newSamlObject(org.opensaml.saml.saml2.ecp.Response.class);
          samlResponse.setSOAP11MustUnderstand(Boolean.TRUE);
          samlResponse.setSOAP11Actor(ActorBearing.SOAP11_ACTOR_NEXT);
          samlResponse.setAssertionConsumerServiceURL(assertionConsumerUrl);
          return samlResponse;
      }
docs: Create a new SAML ECP response object.
  
  @param assertionConsumerUrl the assertion consumer url
  @return the response