IDP 2.4 logout page

Steven Carmody steven_carmody at brown.edu
Fri Nov 8 15:54:50 EST 2013


Hi,

the new logout page, as distributed, contains the code snippet down 
below. I'm guessing this will list any sessions that have been 
established from the IDP ?

I haven't yet gotten it to display anything other than "NONE FOUND" -- 
should I be doing something to get it to list some info ?

thanks!

     <%
     Session s = (Session) 
request.getAttribute(SLOProfileHandler.HTTP_LOGOUT_BINDING_ATTRIBUTE);
     if (s != null && !s.getServicesInformation().isEmpty()) {
     	Encoder esapi = ESAPI.encoder();
     %>

		<ul>
		<% for (ServiceInformation info : s.getServicesInformation().values()) 
{ %>
			<li><%= esapi.encodeForHTML(info.getEntityID()) %></li>
		<% } %>
		</ul>	

	<% } else { %>
	
		<p>NONE FOUND</p>
	
	<% } %>


More information about the users mailing list