[java-opensaml] branch main updated: OSJ-341 - DiscoveryResponseBuilder defaults to wrong NS prefix and URI

Scott Cantor cantor.2 at osu.edu
Tue Aug 24 13:37:28 UTC 2021


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=9627f5fa5c918c9d49d3b03644b396586a245998

The following commit(s) were added to refs/heads/main by this push:
       new  9627f5fa5 OSJ-341 - DiscoveryResponseBuilder defaults to wrong NS prefix and URI
9627f5fa5 is described below

commit 9627f5fa5c918c9d49d3b03644b396586a245998
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 24 09:36:55 2021 -0400

    OSJ-341 - DiscoveryResponseBuilder defaults to wrong NS prefix and URI
    
    https://shibboleth.atlassian.net/browse/OSJ-341
---
 .../org/opensaml/saml/ext/idpdisco/impl/DiscoveryResponseBuilder.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opensaml-saml-impl/src/main/java/org/opensaml/saml/ext/idpdisco/impl/DiscoveryResponseBuilder.java b/opensaml-saml-impl/src/main/java/org/opensaml/saml/ext/idpdisco/impl/DiscoveryResponseBuilder.java
index 07d26ab4a..2c909b6d1 100644
--- a/opensaml-saml-impl/src/main/java/org/opensaml/saml/ext/idpdisco/impl/DiscoveryResponseBuilder.java
+++ b/opensaml-saml-impl/src/main/java/org/opensaml/saml/ext/idpdisco/impl/DiscoveryResponseBuilder.java
@@ -32,8 +32,8 @@ public class DiscoveryResponseBuilder extends AbstractSAMLObjectBuilder<Discover
     /** {@inheritDoc} */
     @Override
     public DiscoveryResponse buildObject() {
-        return buildObject(SAMLConstants.SAML20MD_NS, DiscoveryResponse.DEFAULT_ELEMENT_LOCAL_NAME,
-                SAMLConstants.SAML20MD_PREFIX);
+        return buildObject(SAMLConstants.SAML_IDP_DISCO_NS, DiscoveryResponse.DEFAULT_ELEMENT_LOCAL_NAME,
+                SAMLConstants.SAML_IDP_DISCO_PREFIX);
     }
 
     /** {@inheritDoc} */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list