[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/system/conf/mvc-beans.xml
noreply at shibboleth.net
noreply at shibboleth.net
Mon Oct 26 23:21:28 EDT 2015
Author: scantor
Date: Mon Oct 26 23:21:28 2015
New Revision: 7883
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7883&view=rev
Log:
IDP-818 - Exposing excluded exceptions in ExtendedMappingExceptionResolver
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=7883&r1=7882&r2=7883&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 Oct 26 23:21:28 2015
@@ -47,17 +47,10 @@
<!-- Exception handling -->
- <bean class="net.shibboleth.ext.spring.error.ExtendedMappingExceptionResolver">
- <!-- We can map specific exceptions to views here if needed. -->
- <!--
- <property name="exceptionMappings">
- <props>
- <prop key="FlowExecutionRestorationFailureException">error</prop>
- </props>
- </property>
- -->
- <property name="defaultErrorView" value="%{idp.errors.defaultView:error}"/>
- </bean>
+ <bean id="shibboleth.ExceptionResolver" class="net.shibboleth.ext.spring.error.ExtendedMappingExceptionResolver"
+ p:defaultErrorView="%{idp.errors.defaultView:error}"
+ p:excludedExceptions="#{getObject('%{idp.errors.excludedExceptions:undefined}')}"
+ p:exceptionMappings="#{getObject('%{idp.errors.exceptionMappings:undefined}')}" />
<bean id="RethrowingFlowExecutionExceptionHandler"
class="net.shibboleth.idp.profile.impl.RethrowingFlowExecutionExceptionHandler" />
More information about the commits
mailing list