-all SHIB headers- (HTTP_SHIB_ATTRIBUTES and Shib-Attributes are not shown in this list)
<% java.util.Enumeration eHeaders = request.getHeaderNames(); while(eHeaders.hasMoreElements()) { String name = (String) eHeaders.nextElement(); if ( ( name.matches(".*Shib.*") || name.matches(".*shib.*") ) && !name.equals("HTTP_SHIB_ATTRIBUTES") && !name.equals("Shib-Attributes")) { Object object = request.getHeader(name); String value = object.toString(); out.println(""); } } %>
" + name + "" + value+"

attribute response from the IdP (Shib-Attributes or HTTP_SHIB_ATTRIBUTES):





<% out.print("request.getRemoteUser: "+request.getRemoteUser()+"
"); out.print("REMOTE_USER: "+request.getHeader("REMOTE_USER")+"
" ); out.print("HTTP_REMOTE_USER: "+request.getHeader("HTTP_REMOTE_USER")+"
" ); %>


REQUEST PARAMETERS (GET/POST)
<% java.util.Enumeration eParameters = request.getParameterNames(); while(eParameters.hasMoreElements()) { String name = (String) eParameters.nextElement(); Object object = request.getParameter(name); String value = object.toString(); out.println(""); } %>
" + name + "" + value+"



ALL HEADERS
<% // already initiated at top of script // java.util.Enumeration eHeaders = request.getHeaderNames(); // reset to beginning of Enumeration eHeaders = request.getHeaderNames(); while( eHeaders.hasMoreElements() ) { String name = (String) eHeaders.nextElement(); Object object = request.getHeader(name); String value = object.toString(); out.println(""); } %>
" + name + "" + value+"



SESSION
<% out.println("SESSION_ID: "+session.getId()+"
"); java.util.Enumeration eSession = session.getAttributeNames() ; while(eSession.hasMoreElements()) { String name = (String) eSession.nextElement(); Object object = session.getAttribute(name); String value = object.toString(); out.println(""); } %>
" + name + "" + value+"