[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources/system/conf: audit-system.xml utilities.xml
noreply at shibboleth.net
noreply at shibboleth.net
Sun Nov 23 16:31:10 EST 2014
Author: scantor
Date: Sun Nov 23 16:31:10 2014
New Revision: 6994
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6994&view=rev
Log:
Add a shortcut bean for subject context -> principal name lookup.
Modified:
trunk/idp-conf/src/main/resources/system/conf/audit-system.xml
trunk/idp-conf/src/main/resources/system/conf/utilities.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=6994&r1=6993&r2=6994&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 Sun Nov 23 16:31:10 2014
@@ -232,14 +232,9 @@
<key>
<util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.USERNAME"/>
</key>
- <bean class="com.google.common.base.Functions" factory-method="compose">
- <constructor-arg name="g">
- <bean class="net.shibboleth.idp.authn.context.navigate.SubjectContextPrincipalLookupFunction" />
- </constructor-arg>
- <constructor-arg name="f">
- <ref bean="shibboleth.ChildLookup.SubjectContext" />
- </constructor-arg>
- </bean>
+ <bean class="com.google.common.base.Functions" factory-method="compose"
+ c:g-ref="shibboleth.PrincipalNameLookup.Subject"
+ c:f-ref="shibboleth.ChildLookup.SubjectContext" />
</entry>
<entry>
<key>
@@ -365,14 +360,9 @@
<key>
<util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.USERNAME"/>
</key>
- <bean class="com.google.common.base.Functions" factory-method="compose">
- <constructor-arg name="g">
- <bean class="net.shibboleth.idp.authn.context.navigate.SubjectContextPrincipalLookupFunction" />
- </constructor-arg>
- <constructor-arg name="f">
- <ref bean="shibboleth.ChildLookup.SubjectContext" />
- </constructor-arg>
- </bean>
+ <bean class="com.google.common.base.Functions" factory-method="compose"
+ c:g-ref="shibboleth.PrincipalNameLookup.Subject"
+ c:f-ref="shibboleth.ChildLookup.SubjectContext" />
</entry>
<entry>
<key>
@@ -411,14 +401,9 @@
<key>
<util:constant static-field="net.shibboleth.idp.profile.IdPAuditFields.USERNAME"/>
</key>
- <bean class="com.google.common.base.Functions" factory-method="compose">
- <constructor-arg name="g">
- <bean class="net.shibboleth.idp.authn.context.navigate.SubjectContextPrincipalLookupFunction" />
- </constructor-arg>
- <constructor-arg name="f">
- <ref bean="shibboleth.ChildLookup.SubjectContext" />
- </constructor-arg>
- </bean>
+ <bean class="com.google.common.base.Functions" factory-method="compose"
+ c:g-ref="shibboleth.PrincipalNameLookup.Subject"
+ c:f-ref="shibboleth.ChildLookup.SubjectContext" />
</entry>
<entry>
<key>
Modified: trunk/idp-conf/src/main/resources/system/conf/utilities.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/utilities.xml?rev=6994&r1=6993&r2=6994&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/utilities.xml (original)
+++ trunk/idp-conf/src/main/resources/system/conf/utilities.xml Sun Nov 23 16:31:10 2014
@@ -102,6 +102,8 @@
<bean id="shibboleth.RelyingPartyIdLookup.Simple"
class="net.shibboleth.idp.profile.context.navigate.RelyingPartyIdLookupFunction" />
+ <bean id="shibboleth.PrincipalNameLookup.Subject"
+ class="net.shibboleth.idp.authn.context.navigate.SubjectContextPrincipalLookupFunction" />
<bean id="shibboleth.PrincipalNameLookup.Session"
class="net.shibboleth.idp.session.context.navigate.SessionContextPrincipalLookupFunction" />
More information about the commits
mailing list