Added persistant ID attribute definition to resolver config schema.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 22 Jul 2003 19:18:39 +0000 (19:18 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 22 Jul 2003 19:18:39 +0000 (19:18 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@684 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/attrresolv/ResolutionPlugInFactory.java
src/schemas/shibboleth-resolver-1.0.xsd

index f278e40..1973216 100644 (file)
@@ -55,6 +55,7 @@ import org.w3c.dom.Element;
 import edu.internet2.middleware.shibboleth.aa.attrresolv.provider.CustomAttributeDefinition;
 import edu.internet2.middleware.shibboleth.aa.attrresolv.provider.CustomDataConnector;
 import edu.internet2.middleware.shibboleth.aa.attrresolv.provider.JNDIDirectoryDataConnector;
+import edu.internet2.middleware.shibboleth.aa.attrresolv.provider.PersistentIDAttributeDefinition;
 import edu.internet2.middleware.shibboleth.aa.attrresolv.provider.SimpleAttributeDefinition;
 
 /**
@@ -82,6 +83,10 @@ public class ResolutionPlugInFactory {
                        return new SimpleAttributeDefinition(e);
                }
 
+               if (e.getTagName().equals("PersistentIDAttributeDefinition")) {
+                       return new PersistentIDAttributeDefinition(e);
+               }
+
                if (e.getTagName().equals("JNDIDirectoryDataConnector")) {
                        return new JNDIDirectoryDataConnector(e);
                }
index 8525528..930b30a 100644 (file)
                                                </xs:complexContent>
                                        </xs:complexType>
                                </xs:element>
+                               <xs:element name="PersistentIDAttributeDefinition" minOccurs="0" maxOccurs="unbounded">
+                                       <xs:complexType>
+                                               <xs:complexContent>
+                                                       <xs:extension base="resolver:BaseAttributeDefinition">
+                                                               <xs:sequence>
+                                                                       <xs:element name="Salt">
+                                                                               <xs:complexType>
+                                                                                       <xs:simpleContent>
+                                                                                               <xs:extension base="xs:string">
+                                                                                                       <xs:attribute name="keyStorePath" type="xs:string" use="optional"/>
+                                                                                                       <xs:attribute name="keyStoreKeyAlias" type="xs:string" use="optional"/>
+                                                                                                       <xs:attribute name="keyStorePassword" type="xs:string" use="optional"/>
+                                                                                                       <xs:attribute name="keyStoreKeyPassword" type="xs:string" use="optional"/>
+                                                                                               </xs:extension>
+                                                                                       </xs:simpleContent>
+                                                                               </xs:complexType>
+                                                                       </xs:element>
+                                                               </xs:sequence>
+                                                               <xs:attribute name="sourceName" type="xs:string" use="optional"/>
+                                                               <xs:attribute name="scope" type="xs:string" use="required"/>
+                                                       </xs:extension>
+                                               </xs:complexContent>
+                                       </xs:complexType>
+                               </xs:element>
                                <xs:element name="CustomAttributeDefinition" minOccurs="0" maxOccurs="unbounded">
                                        <xs:complexType>
                                                <xs:complexContent>