<%
String userInfo = null;
GuanxiPrincipal gxPrincipal = (GuanxiPrincipal)session.getAttribute(SessionKeys.GUANXI_PRINCIPAL);
if (gxPrincipal != null) {
userInfo = "PUID = " + gxPrincipal.getPUID() + "; ";
if (gxPrincipal.getAttributes() != null) {
userInfo += "First name = " + gxPrincipal.getAttributes().get("givenName") + "; ";
userInfo += "Surname = " + gxPrincipal.getAttributes().get("sn");
}
}
else
userInfo = "User has no GuanxiPrincipal";
%>
ASK footer: <%= userInfo %>