开发者

Tomcat with client certificate and Grails

开发者 https://www.devze.com 2023-02-16 06:32 出处:网络
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 t

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']
0

精彩评论

暂无评论...
验证码 换一张
取 消