Removed Factory property.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 29 Apr 2005 02:46:56 +0000 (02:46 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 29 Apr 2005 02:46:56 +0000 (02:46 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1425 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aap/AttributeRule.java
src/edu/internet2/middleware/shibboleth/aap/provider/XMLAAPProvider.java
src/schemas/shibboleth.xsd

index b479d33..d83c897 100644 (file)
@@ -53,13 +53,6 @@ public interface AttributeRule {
     String getNamespace();
     
     /**
     String getNamespace();
     
     /**
-     *  Get the name of the class responsible for implementing this attribute 
-     *
-     * @return The factory class name
-     */
-    String getFactory();
-    
-    /**
      *  Get the shorthand name of the attribute 
      *
      * @return The shorthand name
      *  Get the shorthand name of the attribute 
      *
      * @return The shorthand name
index 0683694..f669a2e 100644 (file)
@@ -59,7 +59,6 @@ public class XMLAAPProvider implements AAP {
 
         private String name = null;
         private String namespace = null;
 
         private String name = null;
         private String namespace = null;
-        private String factory = null;
         private String alias = null;
         private String header = null;
         private boolean caseSensitive = true;
         private String alias = null;
         private String header = null;
         private boolean caseSensitive = true;
@@ -89,7 +88,6 @@ public class XMLAAPProvider implements AAP {
         }
         
         XMLAttributeRule(Element e) throws MalformedException {
         }
         
         XMLAttributeRule(Element e) throws MalformedException {
-            factory = XML.assign(e.getAttributeNS(null,"Factory"));
             alias = XML.assign(e.getAttributeNS(null,"Alias"));
             header = XML.assign(e.getAttributeNS(null,"Header"));
             name = XML.assign(e.getAttributeNS(null,"Name"));
             alias = XML.assign(e.getAttributeNS(null,"Alias"));
             header = XML.assign(e.getAttributeNS(null,"Header"));
             name = XML.assign(e.getAttributeNS(null,"Name"));
@@ -206,10 +204,6 @@ public class XMLAAPProvider implements AAP {
             return namespace;
         }
 
             return namespace;
         }
 
-        public String getFactory() {
-            return factory;
-        }
-
         public String getAlias() {
             return alias;
         }
         public String getAlias() {
             return alias;
         }
index 67833f3..f7d4c47 100644 (file)
         </sequence>
         <attribute name="Name" type="string" use="required"/>
         <attribute name="Namespace" type="string" use="optional"/>
         </sequence>
         <attribute name="Name" type="string" use="required"/>
         <attribute name="Namespace" type="string" use="optional"/>
-        <attribute name="Factory" type="string" use="optional"/>
         <attribute name="Alias" type="string" use="optional"/>
                <attribute name="Header" type="string" use="optional"/>
                <attribute name="Scoped" type="boolean" use="optional" default="false"/>
         <attribute name="Alias" type="string" use="optional"/>
                <attribute name="Header" type="string" use="optional"/>
                <attribute name="Scoped" type="boolean" use="optional" default="false"/>