[java-identity-provider] branch master updated: Tweak log messages.

Scott Cantor cantor.2 at osu.edu
Tue Dec 17 15:17:31 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=1ac1c5f0d364e14a845fc4e0a72444cebeb98663

The following commit(s) were added to refs/heads/master by this push:
       new  1ac1c5f   Tweak log messages.
1ac1c5f is described below

commit 1ac1c5f0d364e14a845fc4e0a72444cebeb98663
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Dec 17 14:17:25 2019 -0600

    Tweak log messages.
---
 .../idp/attribute/resolver/AbstractAttributeDefinition.java      | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractAttributeDefinition.java b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractAttributeDefinition.java
index 741dc09..b44fddf 100644
--- a/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractAttributeDefinition.java
+++ b/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractAttributeDefinition.java
@@ -98,20 +98,21 @@ public abstract class AbstractAttributeDefinition extends AbstractResolverPlugin
         // Set up the dependencies first. Then the initialize in the parent
         // will correctly rehash the dependencies.
         super.doInitialize();
+        
         // The Id is now definitive. Just in case it was used prior to that, reset the getPrefixCache
         logPrefix = null;
         
         if (IdPAttribute.isInvalidId(getId())) {
-            throw new ComponentInitializationException(
-                    "Invalid Attribute Definitions name (" + getId() + ")");
+            throw new ComponentInitializationException("Invalid Attribute Definitions name (" + getId() + ")");
         }
+        
         if (IdPAttribute.isDeprecatedId(getId())) {
             DeprecationSupport.warnOnce(
                     ObjectType.CONFIGURATION,
-                    "Use of Attributes definition with invalid characters",
+                    "Use of AttributeDefinition id with invalid characters",
                     getLogPrefix(),
                     null);
-            log.debug("{} : Deprecated characters in Attribute Defintion id.", getLogPrefix());
+            log.debug("{} : Deprecated characters in AttributeDefintion id", getLogPrefix());
         }
     }
 

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


More information about the commits mailing list