cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf-fediz git commit: Set the DefaultSubjectProvider in case there is a forthcoming change in CXF
Date Mon, 05 Oct 2015 16:30:42 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 18656ace3 -> 7217d1f43


Set the DefaultSubjectProvider in case there is a forthcoming change in CXF


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/7217d1f4
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/7217d1f4
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/7217d1f4

Branch: refs/heads/master
Commit: 7217d1f43f7209e3fea2454e1d1a1e22e5a418e4
Parents: 18656ac
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Oct 5 17:30:15 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Oct 5 17:30:15 2015 +0100

----------------------------------------------------------------------
 services/sts/src/main/webapp/WEB-INF/cxf-transport.xml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/7217d1f4/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml
----------------------------------------------------------------------
diff --git a/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml b/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml
index d3ea403..fb1376c 100644
--- a/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml
+++ b/services/sts/src/main/webapp/WEB-INF/cxf-transport.xml
@@ -128,6 +128,7 @@
         <property name="attributeStatementProviders" ref="attributeStatementProvidersList"
/>
         <property name="realmMap" ref="realms" />
         <property name="conditionsProvider" ref="conditionsProvider" />
+        <property name="subjectProvider" ref="subjectProvider" />
     </bean>
 
     <bean id="conditionsProvider"
@@ -135,6 +136,12 @@
         <property name="lifetime" value="1200" />
         <property name="acceptClientLifetime" value="true" />
     </bean>
+    
+    <bean id="subjectProvider"
+        class="org.apache.cxf.sts.token.provider.DefaultSubjectProvider">
+        <property name="subjectNameIDFormat" 
+                  value="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" />
+    </bean>
 
     <util:list id="attributeStatementProvidersList">
         <ref bean="claimAttributeProvider" />


Mime
View raw message