Skip to content

Instantly share code, notes, and snippets.

@jtgasper3
Created June 18, 2015 04:28
Show Gist options
  • Save jtgasper3/55f9d870f4a9e59d0436 to your computer and use it in GitHub Desktop.
Save jtgasper3/55f9d870f4a9e59d0436 to your computer and use it in GitHub Desktop.
ClearPass Debugging
<%@ page import="org.apache.log4j.Logger"%>
<%@ page session="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
Logger logger = Logger.getLogger( "org.jasig.cas.clearPassSuccess.jsp" );
logger.debug("clearpass: " + request.getAttribute("credentials"));
%><cas:clearPassResponse xmlns:cas='http://www.yale.edu/tp/cas'>
<cas:clearPassSuccess>
<cas:credentials>${fn:escapeXml(credentials)}</cas:credentials>
</cas:clearPassSuccess>
</cas:clearPassResponse>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment