Skip to content

Commit

Permalink
integration test assertion for SAML SignatureMethod
Browse files Browse the repository at this point in the history
Co-authored-by: Hongchol Sinn <hongchol.sinn@broadcom.com>
  • Loading branch information
swalchemist and hsinn0 committed Mar 27, 2024
1 parent a21ccfb commit 53b2afe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ public void testSamlSPMetadata() {
// login.saml.signatureAlgorithm
assertThat(metadataXml, containsString(
"<ds:DigestMethod Algorithm=\"http://www.w3.org/2001/04/xmlenc#sha256\"/>"));
assertThat(metadataXml, containsString(
"<ds:SignatureMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"/>"));
// login.saml.signRequest
assertThat(metadataXml, containsString("AuthnRequestsSigned=\"true\""));
// login.saml.wantAssertionSigned
Expand Down

0 comments on commit 53b2afe

Please sign in to comment.