protected Response buildSaml2Response(final SamlProfileBuilderContext context) throws Exception {
        return (Response) getConfigurationContext().getSamlSoapResponseBuilder().build(context);
    }
Build saml2 response.

@param context the context
@return the org . opensaml . saml . saml 2 . core . response
@throws Exception the exception
support/cas-server-support-saml-idp-web/src/main/java/org/apereo/cas/support/saml/web/idp/profile/builders/response/soap/SamlProfileSamlSoap11ResponseBuilder.java