[java-identity-provider] branch master updated: Deprecated method update.

Scott Cantor cantor.2 at osu.edu
Tue Nov 26 10:47:02 EST 2019


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

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=74a4951b6d739cece05e08d70dbe3a5efaeef838

The following commit(s) were added to refs/heads/master by this push:
       new  74a4951   Deprecated method update.
74a4951 is described below

commit 74a4951b6d739cece05e08d70dbe3a5efaeef838
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Nov 26 10:46:58 2019 -0500

    Deprecated method update.
---
 .../src/main/java/net/shibboleth/idp/saml/metadata/IdPUIInfo.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/metadata/IdPUIInfo.java b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/metadata/IdPUIInfo.java
index 6ad321c..adb43e4 100644
--- a/idp-saml-api/src/main/java/net/shibboleth/idp/saml/metadata/IdPUIInfo.java
+++ b/idp-saml-api/src/main/java/net/shibboleth/idp/saml/metadata/IdPUIInfo.java
@@ -70,7 +70,7 @@ public class IdPUIInfo {
     private final Predicate<LocalizedURI> nullLanguageURL = new Predicate<>() {
         public boolean test(final LocalizedURI u) {
             if (u.getXMLLang() == null) {
-                LOG.warn("URI with value {} has no language associated, ignoring", u.getValue());
+                LOG.warn("URI with value {} has no language associated, ignoring", u.getURI());
                 return false;
             }
             return true;
@@ -133,14 +133,14 @@ public class IdPUIInfo {
                 filter(nullLanguageURL).
                 collect(Collectors.toUnmodifiableMap(
                         url -> Locale.forLanguageTag(url.getXMLLang()), 
-                        dn -> dn.getValue()));
+                        dn -> dn.getURI()));
         privacyStatementURLs = uiInfo.
                 getPrivacyStatementURLs().
                 stream().
                 filter(nullLanguageURL).
                 collect(Collectors.toUnmodifiableMap(
                         url -> Locale.forLanguageTag(url.getXMLLang()), 
-                        url -> url.getValue()));
+                        url -> url.getURI()));
         
         final List<Logo> noLocaleLogo = new ArrayList<>();
         final Map<Locale, List<Logo>> withLocaleLogo = new HashMap<>();

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


More information about the commits mailing list