[java-shib-attribute] branch main updated: JSATTR-24 - EntityAttributes trigger IdPAttribute ID format warning

Scott Cantor cantor.2 at osu.edu
Mon Mar 18 12:22:15 UTC 2024


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

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

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-attribute.git;a=commit;h=b0bd644cbe451a47d98695f8a61c2843e7fe621b

The following commit(s) were added to refs/heads/main by this push:
     new b0bd644cb JSATTR-24 - EntityAttributes trigger IdPAttribute ID format warning
b0bd644cb is described below

commit b0bd644cbe451a47d98695f8a61c2843e7fe621b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Mar 18 08:22:12 2024 -0400

    JSATTR-24 - EntityAttributes trigger IdPAttribute ID format warning
    
    https://shibboleth.atlassian.net/browse/JSATTR-24
    
    Fix deprecation logic.
---
 .../src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java b/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java
index 2c9fcc8bb..58aa38893 100644
--- a/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java
+++ b/shib-attribute-api/src/main/java/net/shibboleth/idp/attribute/IdPAttribute.java
@@ -93,8 +93,7 @@ public class IdPAttribute implements Comparable<IdPAttribute>, Cloneable {
         return id.indexOf('\'') >= 0 ||
                 id.indexOf('%') >= 0 ||
                 id.indexOf('{') >= 0 ||
-                id.indexOf('}') >= 0 ||
-                id.indexOf('-') >= 0;
+                id.indexOf('}') >= 0;
     }
     
     /** Centralized method to police invalid Identifiers.

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


More information about the commits mailing list