cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From owu...@apache.org
Subject svn commit: r1482576 - /cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/ldap.xml
Date Tue, 14 May 2013 20:42:35 GMT
Author: owulff
Date: Tue May 14 20:42:35 2013
New Revision: 1482576

URL: http://svn.apache.org/r1482576
Log:
[FEDIZ-58] Support LDAP groups for Maven profile ldap

Modified:
    cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/ldap.xml

Modified: cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/ldap.xml
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/ldap.xml?rev=1482576&r1=1482575&r2=1482576&view=diff
==============================================================================
--- cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/ldap.xml (original)
+++ cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/ldap.xml Tue May 14 20:42:35 2013
@@ -12,6 +12,7 @@
 
     <util:list id="claimHandlerList">
 		<ref bean="userClaimsHandler" />
+		<ref bean="groupClaimsHandler" />
 	</util:list>
 
 	<bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource">
@@ -53,6 +54,20 @@
 		<property name="ldapTemplate" ref="ldapTemplate" />
 		<property name="claimsLdapAttributeMapping" ref="claimsToLdapAttributeMapping" />
 		<property name="userBaseDN" value="ou=users,dc=fediz,dc=org" />
+		<property name="userNameAttribute" value="uid" />
+	</bean>
+	
+	<util:map id="appliesToScopeMapping">
+		<entry key="urn:org:apache:cxf:fediz:fedizhelloworld"
+			value="Example" />
+	</util:map>
+	
+	<bean id="groupClaimsHandler" class="org.apache.cxf.sts.claims.LdapGroupClaimsHandler">
+		<property name="ldapTemplate" ref="ldapTemplate" />
+		<property name="userBaseDN" value="ou=users,dc=fediz,dc=org" />
+		<property name="groupBaseDN" value="ou=groups,dc=fediz,dc=org" />
+		<property name="appliesToScopeMapping" ref="appliesToScopeMapping" />
+		<property name="userNameAttribute" value="uid" />
 	</bean>
 	
 	<jaxws:endpoint id="transportSTS1" implementor="#transportSTSProviderBean"



Mime
View raw message