Tomcat with client certificate and Grails
I found the right information on how to configure tomcat with client certificates on stackoverflow, configured my tomcat, deployed a grails application and searched within the grails application for the client certificate. I found it in the property
request.request.reque开发者_运维技巧st.attributes['javax.servlet.request.X509Certificate']
Is this the right way to access the certificate? Is looks a bit wrong :-)
ok. I think I've got it... this looks better:
request['javax.servlet.request.X509Certificate']
精彩评论