[java-identity-provider] 02/02: IDP-1502 - Avoid object creation in the external web flows

Scott Cantor cantor.2 at osu.edu
Thu Sep 26 12:19:24 EDT 2019


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

scantor pushed a commit to branch maint-3.4
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=4d848bf31ce273dab607819a562228b3dce71c76

commit 4d848bf31ce273dab607819a562228b3dce71c76
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Sep 19 16:24:31 2019 -0400

    IDP-1502 - Avoid object creation in the external web flows
    
    https://issues.shibboleth.net/jira/browse/IDP-1502
    
    Add servlet context export.
---
 idp-conf/src/main/resources/system/conf/webflow-config.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/idp-conf/src/main/resources/system/conf/webflow-config.xml b/idp-conf/src/main/resources/system/conf/webflow-config.xml
index 261fc99..0a493ca 100644
--- a/idp-conf/src/main/resources/system/conf/webflow-config.xml
+++ b/idp-conf/src/main/resources/system/conf/webflow-config.xml
@@ -204,4 +204,13 @@
     <bean id="profileRequestContextFlowExecutionListener"
           class="net.shibboleth.idp.profile.support.ProfileRequestContextFlowExecutionListener" />
 
+    <!-- Expose the FlowExecutor for access via servlet context outside the webflows. -->
+	<bean class="org.springframework.web.context.support.ServletContextAttributeExporter">
+	   <property name="attributes">
+	       <map>
+	           <entry key="net.shibboleth.idp.flowExecutor" value-ref="flowExecutor"/>
+	       </map>
+	   </property>
+	</bean>
+
 </beans>

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


More information about the commits mailing list