move PluggableConfigurationComponent from SP to Common
authorgilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 20 Jun 2005 20:01:07 +0000 (20:01 +0000)
committergilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 20 Jun 2005 20:01:07 +0000 (20:01 +0000)
Remove references to XMLException

git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1646 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aap/provider/XMLAAPProvider.java
src/edu/internet2/middleware/shibboleth/common/PluggableConfigurationComponent.java [moved from src/edu/internet2/middleware/shibboleth/serviceprovider/PluggableConfigurationComponent.java with 88% similarity]
src/edu/internet2/middleware/shibboleth/common/provider/ShibbolethTrust.java
src/edu/internet2/middleware/shibboleth/metadata/provider/XMLMetadataProvider.java
src/edu/internet2/middleware/shibboleth/serviceprovider/ServiceProviderConfig.java

index 529afc0..3ffae34 100644 (file)
@@ -37,11 +37,11 @@ import org.w3c.dom.NodeList;
 import edu.internet2.middleware.shibboleth.aap.AAP;
 import edu.internet2.middleware.shibboleth.aap.AttributeRule;
 import edu.internet2.middleware.shibboleth.common.Constants;
+import edu.internet2.middleware.shibboleth.common.PluggableConfigurationComponent;
 import edu.internet2.middleware.shibboleth.metadata.EntitiesDescriptor;
 import edu.internet2.middleware.shibboleth.metadata.RoleDescriptor;
 import edu.internet2.middleware.shibboleth.metadata.ScopedRoleDescriptor;
 import edu.internet2.middleware.shibboleth.metadata.ScopedRoleDescriptor.Scope;
-import edu.internet2.middleware.shibboleth.serviceprovider.PluggableConfigurationComponent;
 
 public class XMLAAPProvider implements AAP, PluggableConfigurationComponent {
 
  * For examples of use, see one of the builtin implementation
  * classes (XMLMetadataImpl, ...).
  */
-package edu.internet2.middleware.shibboleth.serviceprovider;
+package edu.internet2.middleware.shibboleth.common;
 
-import org.apache.xmlbeans.XmlException;
 import org.opensaml.SAMLException;
 import org.w3c.dom.Element;
-import edu.internet2.middleware.shibboleth.common.ShibbolethConfigurationException;
 
 public interface PluggableConfigurationComponent {
     
@@ -56,7 +54,6 @@ public interface PluggableConfigurationComponent {
     initialize(Element dom) 
        throws 
        SAMLException,
-       XmlException, // If there is a problem in the configuration data
        ShibbolethConfigurationException; // for other problems
     
 }
\ No newline at end of file
index f0175e2..4787673 100644 (file)
@@ -62,6 +62,7 @@ import org.opensaml.SAMLSignedObject;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 
+import edu.internet2.middleware.shibboleth.common.PluggableConfigurationComponent;
 import edu.internet2.middleware.shibboleth.common.ShibbolethConfigurationException;
 import edu.internet2.middleware.shibboleth.common.Trust;
 import edu.internet2.middleware.shibboleth.metadata.EntitiesDescriptor;
@@ -71,7 +72,6 @@ import edu.internet2.middleware.shibboleth.metadata.ExtendedEntityDescriptor;
 import edu.internet2.middleware.shibboleth.metadata.KeyAuthority;
 import edu.internet2.middleware.shibboleth.metadata.KeyDescriptor;
 import edu.internet2.middleware.shibboleth.metadata.RoleDescriptor;
-import edu.internet2.middleware.shibboleth.serviceprovider.PluggableConfigurationComponent;
 
 /**
  * <code>Trust</code> implementation that does PKIX validation against key authorities included in shibboleth-specific
@@ -475,7 +475,7 @@ public class ShibbolethTrust extends BasicTrust implements Trust, PluggableConfi
                
        }
 
-       public void initialize(Element dom) throws SAMLException, XmlException, ShibbolethConfigurationException {
+       public void initialize(Element dom) throws SAMLException, ShibbolethConfigurationException {
                
        }
 
index e9b50dc..5c65e2c 100644 (file)
@@ -52,8 +52,8 @@ import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
 import edu.internet2.middleware.shibboleth.common.Constants;
+import edu.internet2.middleware.shibboleth.common.PluggableConfigurationComponent;
 import edu.internet2.middleware.shibboleth.metadata.*;
-import edu.internet2.middleware.shibboleth.serviceprovider.PluggableConfigurationComponent;
 
 /**
  * @author Scott Cantor
index db94776..94b2d93 100644 (file)
@@ -180,6 +180,7 @@ import edu.internet2.middleware.shibboleth.aap.AAP;
 import edu.internet2.middleware.shibboleth.aap.AttributeRule;
 import edu.internet2.middleware.shibboleth.aap.provider.XMLAAPProvider;
 import edu.internet2.middleware.shibboleth.common.Credentials;
+import edu.internet2.middleware.shibboleth.common.PluggableConfigurationComponent;
 import edu.internet2.middleware.shibboleth.common.ShibbolethConfigurationException;
 import edu.internet2.middleware.shibboleth.common.Trust;
 import edu.internet2.middleware.shibboleth.common.provider.ShibbolethTrust;