[java-identity-provider COMMIT] in /trunk: idp-authn-api/src/main/java/net/shibboleth/idp/authn/AuthnAuditFields.java...

noreply at shibboleth.net noreply at shibboleth.net
Fri Dec 11 19:54:09 EST 2015


Author: scantor
Date: Fri Dec 11 19:54:09 2015
New Revision: 8031

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8031&view=rev
Log:
IDP-883 - Create an audit field to log the AuthenticationResult

Added:
    trunk/idp-authn-api/src/main/java/net/shibboleth/idp/authn/AuthnAuditFields.java   (with props)
    trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/audit/
    trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/audit/impl/
    trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/audit/impl/AuthenticationFlowAuditExtractor.java   (with props)
    trunk/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/audit/impl/package-info.java   (with props)
Modified:
    trunk/idp-conf/src/main/resources/system/conf/audit-system.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=8031&r1=8030&r2=8031&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	Fri Dec 11 19:54:09 2015
@@ -299,6 +299,12 @@
             <map>
                 <entry>
                     <key>
+                        <util:constant static-field="net.shibboleth.idp.authn.AuthnAuditFields.AUTHN_FLOW_ID"/>
+                    </key>
+                    <bean class="net.shibboleth.idp.authn.audit.impl.AuthenticationFlowAuditExtractor" />
+                </entry>
+                <entry>
+                    <key>
                         <util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.USERNAME"/>
                     </key>
                     <bean class="com.google.common.base.Functions" factory-method="compose"
@@ -528,6 +534,12 @@
             <map>
                 <entry>
                     <key>
+                        <util:constant static-field="net.shibboleth.idp.authn.AuthnAuditFields.AUTHN_FLOW_ID"/>
+                    </key>
+                    <bean class="net.shibboleth.idp.authn.audit.impl.AuthenticationFlowAuditExtractor" />
+                </entry>
+                <entry>
+                    <key>
                         <util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.USERNAME"/>
                     </key>
                     <bean class="com.google.common.base.Functions" factory-method="compose"
@@ -563,6 +575,12 @@
             <map>
                 <entry>
                     <key>
+                        <util:constant static-field="net.shibboleth.idp.authn.AuthnAuditFields.AUTHN_FLOW_ID"/>
+                    </key>
+                    <bean class="net.shibboleth.idp.authn.audit.impl.AuthenticationFlowAuditExtractor" />
+                </entry>
+                <entry>
+                    <key>
                         <util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.USERNAME"/>
                     </key>
                     <bean class="com.google.common.base.Functions" factory-method="compose"
@@ -571,40 +589,9 @@
                 </entry>
                 <entry>
                     <key>
-                        <util:constant static-field="net.shibboleth.idp.cas.protocol.CASAuditFields.SERVICE_URL"/>
-                    </key>
-                    <bean class="net.shibboleth.idp.cas.audit.impl.ServiceLookupFunction" />
-                </entry>
-                <entry>
-                    <key>
-                        <util:constant static-field="net.shibboleth.idp.cas.protocol.CASAuditFields.GATEWAY"/>
-                    </key>
-                    <bean class="net.shibboleth.idp.cas.audit.impl.GatewayLookupFunction" />
-                </entry>
-                <entry>
-                    <key>
-                        <util:constant static-field="net.shibboleth.idp.cas.protocol.CASAuditFields.RENEW"/>
-                    </key>
-                    <bean class="net.shibboleth.idp.cas.audit.impl.RenewLookupFunction" />
-                </entry>
-                <entry>
-                    <key>
-                        <util:constant static-field="net.shibboleth.idp.cas.protocol.CASAuditFields.GRANTING_TICKET"/>
-                    </key>
-                    <bean class="com.google.common.base.Functions" factory-method="compose">
-                        <constructor-arg name="g">
-                            <bean class="net.shibboleth.idp.session.context.navigate.SessionContextIDLookupFunction" />
-                        </constructor-arg>
-                        <constructor-arg name="f">
-                            <ref bean="shibboleth.ChildLookup.SessionContext" />
-                        </constructor-arg>
-                    </bean>
-                </entry>
-                <entry>
-                    <key>
-                        <util:constant static-field="net.shibboleth.idp.cas.protocol.CASAuditFields.SERVICE_TICKET"/>

[... 117 lines stripped ...]


More information about the commits mailing list