Skip to content

Commit

Permalink
fix: xml data errors that caused a test failure
Browse files Browse the repository at this point in the history
* Introduced in the last commit
  • Loading branch information
swalchemist committed Dec 21, 2023
1 parent 9343b2e commit 3d11c1d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,12 @@ void getTokenUsingSaml2BearerGrant() throws Exception {
//Mock an IDP metadata
String idpMetadata = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<md:EntityDescriptor xmlns:md=\"urn:oasis:names:tc:SAML:2.0:metadata\" ID=\"" + origin + "\"\n" +
" entityID=\"68uexx.cloudfoundry-saml-login\">\n" +
" <ds:Signature xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">\n" +
" <ds:SignedInfo>\n" +
" <ds:CanonicalizationMethod Algorithm=\"http://www.w3.org/2001/10/xml-exc-c14n#\"/>\n" +
" <ds:SignatureMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"/>\n" +
" <ds:Reference URI=\"#\" + origin + \"" + origin + "\">\n" +
" <ds:Reference URI=\"#" + origin + "\">\n" +
" <ds:Transforms>\n" +
" <ds:Transform Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"/>\n" +
" <ds:Transform Algorithm=\"http://www.w3.org/2001/10/xml-exc-c14n#\"/>\n" +
Expand Down

0 comments on commit 3d11c1d

Please sign in to comment.