Renamed HandleServiceConfig field for clarity and consistency
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 31 May 2002 21:18:27 +0000 (21:18 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 31 May 2002 21:18:27 +0000 (21:18 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@21 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/hs/HandleService.java
src/edu/internet2/middleware/shibboleth/hs/HandleServiceConfig.java
webApplication/WEB-INF/conf/shibboleth.xml

index e38b8ba..438361c 100755 (executable)
@@ -161,7 +161,7 @@ public class HandleService extends HttpServlet {
                        HandleServiceConfig.getDetailedHelpURL());
                getServletContext().setAttribute(
                        "hs_location",
-                       HandleServiceConfig.getLocation());
+                       HandleServiceConfig.getHsURL());
        }
 
        /**
@@ -297,7 +297,7 @@ public class HandleService extends HttpServlet {
                                        remoteUser,
                                        key,
                                        Long.parseLong(HandleServiceConfig.getValidityPeriod()),
-                                       HandleServiceConfig.getLocation());
+                                       HandleServiceConfig.getHsURL());
 
                        log.info("Acquired Handle: " + aqh.getHandleID());
 
index 5be0702..47ff84d 100755 (executable)
@@ -11,7 +11,7 @@ public class HandleServiceConfig {
 
        private static String logoLocation = "images/internet2.gif";
        private static String supportContact = "mailto:shib-support@internet2.org";
-       private static String location = "http://shib2.internet2.edu/shibboleth/HS";
+       private static String hsURL = "http://shib2.internet2.edu/shibboleth/HS";
        private static String helpText =
                "In order to fulfill the request for the web"
                        + " resource you have just chosen, information must be sent from your home institution to the "
@@ -114,19 +114,19 @@ public class HandleServiceConfig {
        }
 
        /**
-        * Gets the location.
+        * Gets the hsURL.
         * @return Returns a String
         */
-       public static String getLocation() {
-               return location;
+       public static String getHsURL() {
+               return hsURL;
        }
 
        /**
-        * Sets the location.
-        * @param location The location to set
+        * Sets the hsURL.
+        * @param hsURL The hsURL to set
         */
-       public static void setLocation(String hs_location) {
-               HandleServiceConfig.location = hs_location;
+       public static void setHsURL(String hs_location) {
+               HandleServiceConfig.hsURL = hs_location;
        }
 
        /**
index 036254e..641116e 100755 (executable)
@@ -44,7 +44,7 @@
        <HsConfig 
                supportContact="mailto:shib-test@internet2.org"
                logoLocation="images/internet2.gif"
-               location = "http://blah.com/HS"
+               hsURL = "http://blah.com/HS"
                validityPeriod = "1400000"
                domain = "internet2.edu"
                issuer = "shib2.internet2.edu"