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 ; }
Create a new SAML ECP response object .