Log any persistent-id attributes from Shibboleth.
authorPanagiotis Astithas <pastith@gmail.com>
Thu, 8 Apr 2010 10:38:02 +0000 (13:38 +0300)
committerPanagiotis Astithas <pastith@gmail.com>
Thu, 8 Apr 2010 10:38:02 +0000 (13:38 +0300)
src/gr/ebs/gss/server/Login.java

index b0a715f..2768012 100644 (file)
@@ -129,7 +129,7 @@ public class Login extends HttpServlet {
                String[] attrs = new String[] {"REMOTE_USER", "HTTP_SHIB_INETORGPERSON_DISPLAYNAME",
                                        "HTTP_SHIB_INETORGPERSON_GIVENNAME", "HTTP_SHIB_PERSON_COMMONNAME",
                                        "HTTP_SHIB_PERSON_SURNAME", "HTTP_SHIB_INETORGPERSON_MAIL",
-                                       "HTTP_SHIB_EP_UNSCOPEDAFFILIATION"};
+                                       "HTTP_SHIB_EP_UNSCOPEDAFFILIATION", "HTTP_PERSISTENT_ID"};
                StringBuilder buf = new StringBuilder("Shibboleth Attributes\n");
                for (String attr: attrs)
                        buf.append(attr+": ").append(request.getAttribute(attr)).append('\n');