[jboss-user] [Beginners Corner] - Re: Accesss ssl certificate information

2009-06-08 Thread skn81
@In private FacesContext facesContext;

(java.security.cert.X509Certificate[]) ((HttpServletRequest) 
facesContext.getExternalContext().getRequest()).getAttribute("javax.servlet.request.X509Certificate");

Thanks skn81!
Your welcome skn81!

skn81

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236011#4236011

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236011
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Accesss ssl certificate information

2009-05-19 Thread skn81
Hi again


Does noboby have an answer to my problem? Or am I just posting my question in 
the wrong forum? (but neither Security nor Tomcat really seam to fit..)

Once again: How do I get certificate information from the client ssl auth 
(which is handled in tomcat) in one of my session beans?


skn81

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232103#4232103

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232103
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Accesss ssl certificate information

2009-05-05 Thread skn81
Greetings!


I set clientAuth=true in my server.xml to use client ssl (two-way-ssl) which is 
handled fine by Tomcat. Is it now possible to access the SSL certificate 
(information) from a session bean?

A simple example/tutorial would be nice...


Thanks for your help!

skn81

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228634#4228634

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228634
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user