[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml
noreply at shibboleth.net
noreply at shibboleth.net
Wed Sep 14 20:46:09 EDT 2016
Author: scantor
Date: Wed Sep 14 20:46:09 2016
New Revision: 8392
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8392&view=rev
Log:
IDP-1039 - Enable use of PATH_INFO with webflows
https://issues.shibboleth.net/jira/browse/IDP-1039
Wire in custom URL handler.
Modified:
trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml
Modified: trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml?rev=8392&r1=8391&r2=8392&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml Wed Sep 14 20:46:09 2016
@@ -14,7 +14,21 @@
<!-- HandlerMappings: Prefer first the WebFlow one, then the standard Spring MVC default ones.
Have to enumerate them all explicitly b/c we're overriding the built-in defaults. -->
- <bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping" p:order="0" p:flowRegistry-ref="flowRegistry" />
+ <bean id="shibboleth.DefaultRESTFlows" class="org.springframework.beans.factory.config.ListFactoryBean">
+ <property name="sourceList">
+ <list>
+ <value>admin/metrics</value>
+ </list>
+ </property>
+ </bean>
+
+ <bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping" p:order="0"
+ p:flowRegistry-ref="flowRegistry">
+ <property name="flowUrlHandler">
+ <bean class="net.shibboleth.idp.profile.support.PathInfoSupportingFlowUrlHandler"
+ p:supportedFlows="#{getObject('shibboleth.RESTFlows') ?: getObject('shibboleth.DefaultRESTFlows')}" />
+ </property>
+ </bean>
<bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping" p:order="1" />
More information about the commits
mailing list