Skip to content

Commit

Permalink
debug cas response commented
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Jun 25, 2013
1 parent aa9cb8e commit 0325632
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -144,7 +144,7 @@ private String validate(String ticket, HttpServletRequest request) {
int statusCode = new Integer(response.getStatusLine().getStatusCode()).intValue();
if (statusCode == 200) {
Document doc = XMLHelper.readDocument(response.getEntity().getContent());
XMLHelper.writeDocument(doc, new java.io.FileOutputStream("/Users/michaelwechner/validate.xml"));
//XMLHelper.writeDocument(doc, new java.io.FileOutputStream("/Users/michaelwechner/debug-cas-response.xml"));

// INFO: /cas:serviceResponse/cas:authenticationSuccess/cas:user
String CAS_NAMESPACE = "http://www.yale.edu/tp/cas";
Expand Down

0 comments on commit 0325632

Please sign in to comment.