[java-identity-provider] branch main updated: Shorten logging messages.

Scott Cantor cantor.2 at osu.edu
Tue Dec 12 14:05:32 UTC 2023


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new 6df1426f3 Shorten logging messages.
6df1426f3 is described below

commit 6df1426f36a8118343ee2bcb1190106b9083b648
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Dec 12 09:05:29 2023 -0500

    Shorten logging messages.
---
 .../idp/saml/saml1/profile/impl/AddAttributeStatementToAssertion.java | 4 ++--
 .../idp/saml/saml2/profile/impl/AddAttributeStatementToAssertion.java | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml1/profile/impl/AddAttributeStatementToAssertion.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml1/profile/impl/AddAttributeStatementToAssertion.java
index 8012f7ecc..d102745ae 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml1/profile/impl/AddAttributeStatementToAssertion.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml1/profile/impl/AddAttributeStatementToAssertion.java
@@ -213,8 +213,8 @@ public class AddAttributeStatementToAssertion extends BaseAddAttributeStatementT
 
         // Uses the new registry.
         if (super.encodeAttribute(registry, profileRequestContext, attribute, Attribute.class, results) == 0) {
-            log.debug("{} Attribute {} did not have SAML 1 Attribute transcoder instructions associated, nothing to do",
-                    getLogPrefix(), attribute.getId());
+            log.debug("{} Attribute {} did not have usable SAML 1 Attribute transcoder rules", getLogPrefix(),
+                    attribute.getId());
         }
     }
     
diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAttributeStatementToAssertion.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAttributeStatementToAssertion.java
index 3032d6744..0bbd06f3f 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAttributeStatementToAssertion.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAttributeStatementToAssertion.java
@@ -216,8 +216,8 @@ public class AddAttributeStatementToAssertion extends BaseAddAttributeStatementT
 
         // Uses the new registry.
         if (super.encodeAttribute(registry, profileRequestContext, attribute, Attribute.class, results) == 0) {
-            log.debug("{} Attribute {} did not have SAML 2 Attribute transcoder instructions associated, nothing to do",
-                    getLogPrefix(), attribute.getId());
+            log.debug("{} Attribute {} did not have usable SAML 2 Attribute transcoder rules", getLogPrefix(),
+                    attribute.getId());
         }
     }
     

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


More information about the commits mailing list