[java-identity-provider COMMIT] in /trunk: idp-conf/src/main/resources/messages/error-messages.properties idp-conf/sr...
noreply at shibboleth.net
noreply at shibboleth.net
Mon Jan 18 15:03:43 EST 2016
Author: scantor
Date: Mon Jan 18 15:03:43 2016
New Revision: 8077
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8077&view=rev
Log:
IDP-899 - Back-button improvement
https://issues.shibboleth.net/jira/browse/IDP-899
Custom FlowHandlerAdapter that uniformly throws exceptions.
Added:
trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/support/RethrowingFlowHandlerAdapter.java (with props)
Modified:
trunk/idp-conf/src/main/resources/messages/error-messages.properties
trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml
Modified: trunk/idp-conf/src/main/resources/messages/error-messages.properties
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/messages/error-messages.properties?rev=8077&r1=8076&r2=8077&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/messages/error-messages.properties (original)
+++ trunk/idp-conf/src/main/resources/messages/error-messages.properties Mon Jan 18 15:03:43 2016
@@ -54,6 +54,7 @@
# Exception to error key mappings
+NoSuchFlowExecutionException = stale
FlowExecutionRestorationFailureException = stale
ExternalAuthenticationException = stale
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=8077&r1=8076&r2=8077&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 Mon Jan 18 15:03:43 2016
@@ -31,10 +31,10 @@
</property>
</bean>
- <!-- HandlerAdapters: These aren't ordered. Add the WebFlow one, then the standard Spring MVC default ones.
+ <!-- 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. -->
- <bean class="org.springframework.webflow.mvc.servlet.FlowHandlerAdapter" p:flowExecutor-ref="flowExecutor" />
+ <bean class="net.shibboleth.idp.profile.support.RethrowingFlowHandlerAdapter" p:flowExecutor-ref="flowExecutor" />
<bean class="org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter" />
More information about the commits
mailing list