You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ow...@apache.org on 2013/05/13 22:35:15 UTC

svn commit: r1482089 - in /cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF: cxf-transport.xml file.xml ldap.xml

Author: owulff
Date: Mon May 13 20:35:15 2013
New Revision: 1482089

URL: http://svn.apache.org/r1482089
Log:
[FEDIZ-54] Provide Maven profile to build STS with LDAP backend

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

Modified: cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml?rev=1482089&r1=1482088&r2=1482089&view=diff
==============================================================================
--- cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml (original)
+++ cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml Mon May 13 20:35:15 2013
@@ -89,10 +89,6 @@
 		<property name="claimHandlers" ref="claimHandlerList" />
 	</bean>
 
-	<util:list id="claimHandlerList">
-		<ref bean="claimsHandler" />
-	</util:list>
-
 	<bean id="transportService" class="org.apache.cxf.sts.service.StaticService">
 		<property name="endpoints" ref="transportEndpoints" />
 	</bean>
@@ -107,7 +103,7 @@
 		<property name="callbackHandlerClass"
 			value="org.apache.cxf.fediz.service.sts.PasswordCallbackHandler" />
 		<property name="encryptionPropertiesFile" value="stsKeystore.properties" />
-		<property name="issuer" value="DoubleItSTSIssuer" />
+		<property name="issuer" value="Fediz STS" />
 		<property name="encryptionUsername" value="myservicekey" />
 	</bean>
 	

Modified: cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/file.xml
URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/file.xml?rev=1482089&r1=1482088&r2=1482089&view=diff
==============================================================================
--- cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/file.xml (original)
+++ cxf/fediz/trunk/services/sts/src/main/webapp/WEB-INF/file.xml Mon May 13 20:35:15 2013
@@ -14,6 +14,10 @@
     <import resource="userClaims.xml" />
     <import resource="passwords.xml" />
     
+    <util:list id="claimHandlerList">
+		<ref bean="claimsHandler" />
+	</util:list>
+    
 	<bean id="claimsHandler" class="org.apache.cxf.fediz.service.sts.FileClaimsHandler">
 		<property name="userClaims" ref="userClaims" />
 		<property name="supportedClaims" ref="supportedClaims" />

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=1482089&r1=1482088&r2=1482089&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 Mon May 13 20:35:15 2013
@@ -10,6 +10,9 @@
         http://cxf.apache.org/jaxws                                     
         http://cxf.apache.org/schemas/jaxws.xsd">
 
+    <util:list id="claimHandlerList">
+		<ref bean="userClaimsHandler" />
+	</util:list>
 
 	<bean id="contextSource" class="org.springframework.ldap.core.support.LdapContextSource">
 		<property name="url" value="ldap://localhost:389/" />
@@ -46,7 +49,7 @@
 	        value="member" />
 	</util:map>
 
-    <bean id="claimsHandler" class="org.apache.cxf.sts.claims.LdapClaimsHandler">
+    <bean id="userClaimsHandler" class="org.apache.cxf.sts.claims.LdapClaimsHandler">
 		<property name="ldapTemplate" ref="ldapTemplate" />
 		<property name="claimsLdapAttributeMapping" ref="claimsToLdapAttributeMapping" />
 		<property name="userBaseDN" value="ou=users,dc=fediz,dc=org" />