[spring-extensions] branch main updated: JSE-49 - Allow NamespaceHandler base class to sub-delegate

Scott Cantor cantor.2 at osu.edu
Tue Jun 21 15:00:46 UTC 2022


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

scantor pushed a commit to branch main
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=f717e4516c79bf75a5daaa0427528af1d3df283b

The following commit(s) were added to refs/heads/main by this push:
     new f717e45  JSE-49 - Allow NamespaceHandler base class to sub-delegate
f717e45 is described below

commit f717e4516c79bf75a5daaa0427528af1d3df283b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jun 21 11:00:43 2022 -0400

    JSE-49 - Allow NamespaceHandler base class to sub-delegate
    
    https://shibboleth.atlassian.net/browse/JSE-49
    
    Add check for absent qualifier to bypass secondary handlers.
---
 .../net/shibboleth/ext/spring/util/BaseSpringNamespaceHandler.java   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/ext/spring/util/BaseSpringNamespaceHandler.java b/src/main/java/net/shibboleth/ext/spring/util/BaseSpringNamespaceHandler.java
index e54c483..86cbe23 100644
--- a/src/main/java/net/shibboleth/ext/spring/util/BaseSpringNamespaceHandler.java
+++ b/src/main/java/net/shibboleth/ext/spring/util/BaseSpringNamespaceHandler.java
@@ -101,7 +101,10 @@ public abstract class BaseSpringNamespaceHandler implements NamespaceHandler {
     /** {@inheritDoc} */
     public void init() {
         doInit();
-        initSecondaryHandlers();
+        
+        if (secondaryHandlerQualifier != null) {
+            initSecondaryHandlers();
+        }
     }
 
     /**

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


More information about the commits mailing list