[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources/system/flows: admin/admin-abstract-beans.xml ad...
noreply at shibboleth.net
noreply at shibboleth.net
Wed Sep 2 22:37:33 EDT 2015
Author: scantor
Date: Wed Sep 2 22:37:33 2015
New Revision: 7723
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7723&view=rev
Log:
IDP-790 - Add logging of error events during failed requests
Modified:
trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-beans.xml
trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml
trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-beans.xml
trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-flow.xml
trunk/idp-conf/src/main/resources/system/flows/logout/logout-beans.xml
trunk/idp-conf/src/main/resources/system/flows/logout/logout-flow.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-beans.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml1/artifact-resolution-flow.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml1/attribute-query-flow.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml1/sso-abstract-flow.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml2/artifact-resolution-flow.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml2/attribute-query-flow.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-back-flow.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-front-abstract-flow.xml
trunk/idp-conf/src/main/resources/system/flows/saml/saml2/sso-abstract-flow.xml
Modified: trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-beans.xml?rev=7723&r1=7722&r2=7723&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-beans.xml Wed Sep 2 22:37:33 2015
@@ -18,6 +18,12 @@
<bean class="net.shibboleth.idp.profile.impl.ProfileActionBeanPostProcessor" />
<bean class="net.shibboleth.ext.spring.config.IdentifiableBeanPostProcessor" />
+ <bean id="LogEvent" class="org.opensaml.profile.action.impl.LogEvent" scope="prototype">
+ <property name="eventContextLookupStrategy">
+ <bean class="net.shibboleth.idp.profile.context.navigate.WebFlowCurrentEventLookupFunction" />
+ </property>
+ </bean>
+
<!-- Declares audit field extractor functions injected into beans that populate the audit context. -->
<import resource="../../conf/audit-system.xml" />
Modified: trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml?rev=7723&r1=7722&r2=7723&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml Wed Sep 2 22:37:33 2015
@@ -18,6 +18,9 @@
<!-- Unsuccessful terminal states. -->
<decision-state id="HandleErrorWithView">
+ <on-entry>
+ <evaluate expression="LogEvent" />
+ </on-entry>
<if test="flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.LocalEventMap').containsKey(currentEvent.id) and flowRequestContext.getActiveFlow().getApplicationContext().getBean('shibboleth.LocalEventMap').get(currentEvent.id)"
then="AuditedErrorView" else="ErrorView" />
</decision-state>
Modified: trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-beans.xml?rev=7723&r1=7722&r2=7723&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-beans.xml Wed Sep 2 22:37:33 2015
@@ -81,6 +81,12 @@
</property>
</bean>
+ <bean id="LogEvent" class="org.opensaml.profile.action.impl.LogEvent" scope="prototype">
+ <property name="eventContextLookupStrategy">
+ <bean class="net.shibboleth.idp.profile.context.navigate.WebFlowCurrentEventLookupFunction" />
+ </property>
+ </bean>
+
<bean id="MapEventToView"
class="net.shibboleth.idp.profile.context.navigate.SpringEventToViewLookupFunction"
p:defaultView-ref="shibboleth.DefaultErrorView"
Modified: trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-flow.xml?rev=7723&r1=7722&r2=7723&view=diff
[... 204 lines stripped ...]
More information about the commits
mailing list