Hi, Client certs sounds like a neat project. When you are using scripting such as {{groovy}}, the "request" variable will be set to this: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik... That is a wrapper around the actual HttpServletRequest but it appears that getAttribute() passes directly through. If you want to use the real servlet request so you can test better, you can call getHttpServletRequest() then use that. Good luck, Caleb On 05/18/2011 11:38 AM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:
Xwiki version: 2.7.33656
Ok, so I have a different webapp running on the same instance of Tomcat as Xwiki, and I'm able to make a getAttribute("javax.servlet.request.X509Certificate") call and am able to get the clients certificates. However, in my custom login for Xwiki when I try the same thing, it just returns null. I've also tried creating a JSP in the Xwiki webapp that does nothing but call request.getAttribute("javax.servlet.request.X509Certificate") and it still returns null.
Anyone have any idea why this would be the case? As far as I can tell I have Tomcat configured correctly as I'm able to get the clients certs in a different webapp.
Is Xwiki pulling this attribute and storing it elsewhere? Or is this perhaps a struts issue?
Any help would be greatly appreciated. Unfortunately I've been given a short deadline on this.
Thanks,
Lenny _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users