[java-identity-provider] branch main updated: JDUO-8 - Registering the Duo MVC Controller

Phil Smart philip.smart at jisc.ac.uk
Mon Sep 7 12:50:10 UTC 2020


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

philsmart 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=febe330237514dfe473eeabfcc037537a5926010

The following commit(s) were added to refs/heads/main by this push:
       new  febe33023 JDUO-8 - Registering the Duo MVC Controller
febe33023 is described below

commit febe330237514dfe473eeabfcc037537a5926010
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Sep 7 13:49:50 2020 +0100

    JDUO-8 - Registering the Duo MVC Controller
    
     - detectHandlerMethodsInAncestorContexts set to true, to detect
    handlers (controllers) in parent (postconfig.xml) contexts.
    
    https://issues.shibboleth.net/jira/browse/JDUO-8
---
 idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml
index 4274837cd..9b5e68e6d 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/conf/mvc-beans.xml
@@ -34,7 +34,8 @@
 
     <bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping" p:order="1" />
 
-    <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping" p:order="2" />
+    <bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping" p:order="2" 
+        p:detectHandlerMethodsInAncestorContexts="true"/>
 
     <!-- HandlerAdapters: These aren't ordered. Add our WebFlow one, then the standard Spring MVC default ones. 
          Have to enumerate them all explicitly b/c we're overriding the built-in defaults. -->

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


More information about the commits mailing list