[英]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. 我找到了有关如何在stackoverflow上使用客户端证书配置tomcat的正确信息,配置了我的tomcat,部署了grails应用程序,并在grails应用程序中搜索了客户端证书。 I found it in the property
我在酒店找到了
request.request.request.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']
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.