Replace public use of "Target" with "ServiceProvider"
authorgilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 18 Mar 2005 19:21:12 +0000 (19:21 +0000)
committergilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 18 Mar 2005 19:21:12 +0000 (19:21 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1313 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/serviceprovider/ServletContextInitializer.java

index 65df48f..2b52c82 100644 (file)
@@ -78,7 +78,7 @@ public class ServletContextInitializer {
                        
                        // could config.addOrReplaceXXXImplementor()
 
-                       String configFileName = getTargetConfigFile(scontext);
+                       String configFileName = getServiceProviderConfigFile(scontext);
                        config.loadConfigObjects(configFileName);
                        
                        // could config.addOrReplaceXXXImplementor()
@@ -97,16 +97,16 @@ public class ServletContextInitializer {
        
        /**
         * Return name of target's XML configuration file from
-        *  TargetConfigFile parameter of WEB-INF/web.xml, or
+        *  ServiceProviderConfigFile parameter of WEB-INF/web.xml, or
         *  default string
         * 
         * @param ServletContext or null 
         * @return String filename
         */
-       private static String getTargetConfigFile(ServletContext scontext) {
+       private static String getServiceProviderConfigFile(ServletContext scontext) {
            
                if (scontext!=null) {
-                       String servletparm = scontext.getInitParameter("TargetConfigFile");
+                       String servletparm = scontext.getInitParameter("ServiceProviderConfigFile");
                        if (servletparm != null) {
                                return servletparm;
                        }