[java-identity-provider] branch master updated: IDP-1306 - Add new SAML pairwise and subject ids to attribute-resolver-full.xml

Scott Cantor cantor.2 at osu.edu
Mon Sep 10 14:10:52 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=2b03bcdc58b386b28d0f56a14b3c9da07c7b12cc

The following commit(s) were added to refs/heads/master by this push:
       new  2b03bcd   IDP-1306 - Add new SAML pairwise and subject ids to attribute-resolver-full.xml
2b03bcd is described below

commit 2b03bcdc58b386b28d0f56a14b3c9da07c7b12cc
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Sep 10 14:10:49 2018 -0400

    IDP-1306 - Add new SAML pairwise and subject ids to
    attribute-resolver-full.xml
    
    https://issues.shibboleth.net/jira/browse/IDP-1306
---
 .../resources/conf/attribute-resolver-full.xml     | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/idp-conf/src/main/resources/conf/attribute-resolver-full.xml b/idp-conf/src/main/resources/conf/attribute-resolver-full.xml
index f4a7dce..c58c432 100644
--- a/idp-conf/src/main/resources/conf/attribute-resolver-full.xml
+++ b/idp-conf/src/main/resources/conf/attribute-resolver-full.xml
@@ -235,6 +235,19 @@
     </AttributeDefinition>
 -->
 
+    <!-- Schema: SAML Subject ID Attributes -->
+<!--
+    <AttributeDefinition xsi:type="Scoped" id="subject-id" scope="%{idp.scope}">
+        <InputDataConnector ref="myLDAP" attributeNames="%{idp.persistentId.sourceAttribute}"/>
+        <AttributeEncoder xsi:type="SAML2ScopedString" name="urn:oasis:names:tc:SAML:attribute:subject-id" friendlyName="subject-id" encodeType="false" />
+    </AttributeDefinition>
+
+    <AttributeDefinition xsi:type="Scoped" id="pairwise-id" scope="%{idp.scope}">
+        <InputDataConnector ref="computed" attributeNames="computedId"/>
+        <AttributeEncoder xsi:type="SAML2ScopedString" name="urn:oasis:names:tc:SAML:attribute:pairwise-id" friendlyName="pairwise-id" encodeType="false" />
+    </AttributeDefinition>
+-->
+
     <!-- ========================================== -->
     <!--      Data Connectors                       -->
     <!-- ========================================== -->
@@ -286,4 +299,19 @@
     </DataConnector>
 -->
 
+    <!-- DataConector for pairwise-id (example depends on saml-nameid.properties). -->
+
+<!-- 
+    <DataConnector id="computed" xsi:type="ComputedId"
+	    sourceAttributeID="%{idp.persistentId.sourceAttribute}"
+	    generatedAttributeID="computedId"
+	    salt="%{idp.persistentId.salt}"
+	    algorithm="%{idp.persistentId.algorithm:SHA}"
+        encoding="%{idp.persistentId.encoding:BASE32}">
+	    
+        <InputDataConnector ref="myLDAP" attributeNames="%{idp.persistentId.sourceAttribute}" />
+        
+	</DataConnector>
+-->
+
 </AttributeResolver>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list