Hi there, i have a small problem with obtaining a client certificate from message context of a secure web service runing on jboss 4.0.0. i have two jboss instances on two diff. computers and one instance is calling a web service hosted on another instance via TLS. The TLS is set up on both instances including the clientAuth flag. as i could see the whole communication is working, but if I try to get the certificate chain from the servlet request i always get null. The following code is called in the bean implementing the web service:
| MessageContext messageContext = this.ctx.getMessageContext(); | HttpServletRequest request = (HttpServletRequest) messageContext.getProperty("transport.http.servletRequest"); | X509Certificate[] certificates = (X509Certificate[]) request.getAttribute("javax.servlet.request.X509Certificate"); | Is there any possibility to get the certificates? The same code is working very good in case of servlet running on the same jboss instance. Best regards T.K. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876896#3876896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876896 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user