<%@ page trimDirectiveWhitespaces="true" %> <%@ page session="true" %> <% if (request.getParameter("logout")!=null) { session.removeAttribute("openid"); session.removeAttribute("openid-claimed"); %> Logged out!

<% } if (session.getAttribute("openid")==null) { %>

OpenID:
<% } else { %> Logged in as <%= session.getAttribute("openid") %>

Log out <% } %>