[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources/system: conf/audit-system.xml flows/admin/admin...

noreply at shibboleth.net noreply at shibboleth.net
Mon Apr 4 15:11:56 EDT 2016


Author: scantor
Date: Mon Apr  4 15:11:55 2016
New Revision: 8195

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8195&view=rev
Log:
IDP-967 - Logging of non-proceed events needs fine tuning

https://issues.shibboleth.net/jira/browse/IDP-967

Wire in suppression of LogEvent for some "routine" events.

Modified:
    trunk/idp-conf/src/main/resources/system/conf/audit-system.xml
    trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/logout/logout-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-beans.xml

Modified: trunk/idp-conf/src/main/resources/system/conf/audit-system.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/audit-system.xml?rev=8195&r1=8194&r2=8195&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/audit-system.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/conf/audit-system.xml	Mon Apr  4 15:11:55 2016
@@ -9,6 +9,18 @@
 
 	   default-init-method="initialize"
        default-destroy-method="destroy">
+    
+    <bean id="shibboleth.DefaultSuppressedEvents" lazy-init="true"
+            class="org.springframework.beans.factory.config.ListFactoryBean">
+        <property name="sourceList">
+            <list>
+                <value>NoPotentialFlow</value>
+                <value>AttributeReleaseRejected</value>
+                <value>TermsRejected</value>
+                <value>ContextCheckDenied</value>
+            </list>
+        </property>
+    </bean>
     
     <!-- Controls which profiles get audited. -->
     <bean id="shibboleth.ProfileAuditingCondition" class="com.google.common.base.Predicates" factory-method="not">

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=8195&r1=8194&r2=8195&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	Mon Apr  4 15:11:55 2016
@@ -18,7 +18,8 @@
     <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">
+    <bean id="LogEvent" class="org.opensaml.profile.action.impl.LogEvent" scope="prototype"
+            p:suppressedEvents="#{getObject('shibboleth.SuppressedEvents') ?: getObject('shibboleth.DefaultSuppressedEvents')}">
         <property name="eventContextLookupStrategy">
             <bean class="net.shibboleth.idp.profile.context.navigate.WebFlowCurrentEventLookupFunction" />
         </property>

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=8195&r1=8194&r2=8195&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	Mon Apr  4 15:11:55 2016
@@ -99,7 +99,8 @@
         </property>
     </bean>
 
-    <bean id="LogEvent" class="org.opensaml.profile.action.impl.LogEvent" scope="prototype">
+    <bean id="LogEvent" class="org.opensaml.profile.action.impl.LogEvent" scope="prototype"
+            p:suppressedEvents="#{getObject('shibboleth.SuppressedEvents') ?: getObject('shibboleth.DefaultSuppressedEvents')}">
         <property name="eventContextLookupStrategy">
             <bean class="net.shibboleth.idp.profile.context.navigate.WebFlowCurrentEventLookupFunction" />
         </property>

Modified: trunk/idp-conf/src/main/resources/system/flows/logout/logout-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/logout/logout-beans.xml?rev=8195&r1=8194&r2=8195&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/logout/logout-beans.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/logout/logout-beans.xml	Mon Apr  4 15:11:55 2016
@@ -98,7 +98,8 @@
         </property>
     </bean>
 
-    <bean id="LogEvent" class="org.opensaml.profile.action.impl.LogEvent" scope="prototype">
+    <bean id="LogEvent" class="org.opensaml.profile.action.impl.LogEvent" scope="prototype"

[... 21 lines stripped ...]


More information about the commits mailing list