<classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
<classpathentry kind="src" path="source"/>
<classpathentry kind="lib" path="webApplication/WEB-INF/lib/shibboleth.jar"/>
- <classpathentry kind="lib" path="buildlibs/servlet.jar" sourcepath="/ShibTest/buildlibs/servlet-src.jar"/>
+ <classpathentry kind="lib" path="buildlibs/servlet.jar" rootpath="" sourcepath="/shib-java/buildlibs/servlet-src.jar"/>
<classpathentry kind="lib" path="buildlibs/xerces.jar"/>
<classpathentry kind="lib" path="webApplication/WEB-INF/lib/log4j-1.2.jar"/>
<classpathentry kind="lib" path="webApplication/WEB-INF/lib/commons-beanutils.jar"/>
<classpathentry kind="lib" path="webApplication/WEB-INF/lib/commons-digester.jar"/>
<classpathentry kind="lib"
path="webApplication/WEB-INF/lib/jce-bc.jar" sourcepath="/ShibTest/buildlibs/jce-bc-src.jar"/>
- <classpathentry kind="lib" path="buildlibs/junit.jar" rootpath="" sourcepath="/shib-java/buildlibs/junit-src.jar"/>
+ <classpathentry kind="lib" path="buildlibs/junit.jar" sourcepath="/shib-java/buildlibs/junit-src.jar"/>
<classpathentry kind="lib" path="webApplication/WEB-INF/lib/jug.jar" sourcepath="/shib-java/webApplication/WEB-INF/lib/jug-src.jar"/>
<classpathentry kind="output" path="webApplication\WEB-INF\classes"/>
</classpath>
getServletContext().setAttribute(
"hs_detailedHelpURL",
HandleServiceConfig.getDetailedHelpURL());
- getServletContext().setAttribute(
- "hs_location",
- HandleServiceConfig.getHsURL());
}
/**
req.getParameter("shire"),
req.getRemoteAddr(),
req.getRemoteUser(),
- req.getAuthType());
+ req.getAuthType(),
+ req.getRequestURL().toString());
log.info(
"Assertion Generated: "
+ "elapsed time "
log.warn("Handle Service Failure: " + e);
req.setAttribute("errorText", e.toString());
+ req.setAttribute("requestURL", req.getRequestURL().toString());
RequestDispatcher rd = req.getRequestDispatcher("/hserror.jsp");
try {
String shireURL,
String clientAddress,
String remoteUser,
- String authType)
+ String authType,
+ String hsURL)
throws HandleServiceException {
try {
remoteUser,
key,
Long.parseLong(HandleServiceConfig.getValidityPeriod()),
- HandleServiceConfig.getHsURL());
+ hsURL);
log.info("Acquired Handle: " + aqh.getHandleID());
private static String logoLocation = "images/internet2.gif";
private static String supportContact = "mailto:shib-support@internet2.org";
- 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 "
}
/**
- * Gets the hsURL.
- * @return Returns a String
- */
- public static String getHsURL() {
- return hsURL;
- }
-
- /**
- * Sets the hsURL.
- * @param hsURL The hsURL to set
- */
- public static void setHsURL(String hs_location) {
- HandleServiceConfig.hsURL = hs_location;
- }
-
- /**
* Gets the ticket.
* @return Returns a String
*/
<HsConfig
supportContact="mailto:shib-test@internet2.org"
logoLocation="images/internet2.gif"
- hsURL = "http://blah.com/HS"
validityPeriod = "1400000"
domain = "internet2.edu"
issuer = "shib2.internet2.edu"
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
- <jsp:useBean id="hs_location" scope="application" class="java.lang.String"/>
+ <jsp:useBean id="requestURL" scope="request" class="java.lang.String"/>
<jsp:useBean id="errorText" scope="request" class="java.lang.String"/>
<jsp:useBean id="hs_supportContact" scope="application" class="java.lang.String"/>
<jsp:useBean id="hs_logoLocation" scope="application" class="java.lang.String"/>
<p>Please email <a href="mailto:<bean:write name="hs_supportContact" />"><bean:write name="hs_supportContact" /></a> and include the following error message:</p>
-<p class="error">Handle Service failure at (<bean:write name="hs_location" />)</p>
+<p class="error">Handle Service failure at (<bean:write name="requestURL" />)</p>
<p><bean:write name="errorText" /></p>