Author: andreas
Date: Thu Sep 27 02:15:28 2007
New Revision: 579956
URL: http://svn.apache.org/viewvc?rev=579956&view=rev
Log:
[minor change] clarified comments
Modified:
lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/AssertionConsumerServiceImpl.java
Modified: lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/AssertionConsumerServiceImpl.java
URL: http://svn.apache.org/viewvc/lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/AssertionConsumerServiceImpl.java?rev=579956&r1=579955&r2=579956&view=diff
==============================================================================
--- lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/AssertionConsumerServiceImpl.java (original)
+++ lenya/branches/branch_1_2_x_shibboleth/src/java/org/apache/shibboleth/impl/AssertionConsumerServiceImpl.java Thu Sep 27 02:15:28 2007
@@ -198,7 +198,7 @@
}
/**
- * Uses an HTTP Status 307 redirect to forward the user the HS.
+ * Uses an HTTP Status 307 redirect to forward the user to the handle service.
* @param locale The locale.
* @param idpSite The IdP site.
* @return A string.
@@ -209,7 +209,8 @@
// get handle service
String handleService = getShibbolethManager().lookupIdentityProvider(idpSite.getName());
if (handleService == null)
- throw new RuntimeException("Error forwarding to HS: " + idpSite.getName(), null);
+ throw new RuntimeException("Error forwarding to handle service: "
+ + idpSite.getName(), null);
buffer.append(handleService);
buffer.append("?");
@@ -246,20 +247,20 @@
return buffer.toString();
} catch (IOException ioe) {
- throw new RuntimeException("Error forwarding to HS: " + ioe.toString());
+ throw new RuntimeException("Error forwarding to handle service: " + ioe.toString());
}
}
/**
- * Uses an HTTP Status 307 redirect to forward the user the HS.
+ * Uses an HTTP Status 307 redirect to forward the user the handle service.
* @param ureq
* @param getRequestString parameter string for request to IdP
*/
/*
- * public void forwardToHS(UserRequest ureq, String getRequestString) throws ShibbolethException {
- * if (getLogger().isDebugEnabled()) { getLogger().debug("Forwarding to HS: " +
- * getRequestString); } ureq.getDispatchResult().setResultingMediaResource( new
- * RedirectMediaResource(getRequestString)); }
+ * public void forwardToHandleService(UserRequest ureq, String getRequestString) throws
+ * ShibbolethException { if (getLogger().isDebugEnabled()) { getLogger().debug("Forwarding to
+ * handle service: " + getRequestString); } ureq.getDispatchResult().setResultingMediaResource(
+ * new RedirectMediaResource(getRequestString)); }
*/
/**
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.