x509 authentication with spring security 2.0.4

情到浓时终转凉″ 提交于 2019-12-13 05:23:13

问题


i am new to spring security. can anybody provide me sample application for x509 certificate authentication with spring 2.0.4


回答1:


You can use the basic <http> setup to get X509 authentication:

<http>
   <x509: subject-principal-regex"(.*)" user-service-ref="myUserService"/>
   <intercept-url pattern="/**" access="ROLE_USER" requires-channel="https"/>
</http>


来源:https://stackoverflow.com/questions/3913993/x509-authentication-with-spring-security-2-0-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!