Updated test to work with new config strategy.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 4 Feb 2004 21:49:03 +0000 (21:49 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 4 Feb 2004 21:49:03 +0000 (21:49 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@883 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/arp/ArpEngine.java
src/edu/internet2/middleware/shibboleth/aa/attrresolv/AttributeResolver.java

index 6c197a9..e522df4 100755 (executable)
@@ -128,6 +128,10 @@ public class ArpEngine {
                }
        }
 
+       public ArpEngine(ArpRepository preLoadedRepository) throws ArpException {
+               repository = preLoadedRepository;
+       }
+
        /**
         * Loads Arp Engine based on XML configurationf
         * 
index 7d71da2..3c62b3f 100644 (file)
@@ -93,6 +93,10 @@ public class AttributeResolver {
                
                loadConfig(configuration.getResolverConfigLocation());
        }
+       
+       public AttributeResolver(String configFileLocation) throws AttributeResolverException {
+               loadConfig(configFileLocation);
+       }
 
        private void loadConfig(String configFile) throws AttributeResolverException {
                try {