开发者

x509 authentication with spring security 2.0.4

开发者 https://www.devze.com 2023-01-19 11:58 出处:网络
i am new to spring security. can anybody provide me sample application for x509 certificate authenticatio开发者_StackOverflow中文版n with spring 2.0.4You can use the basic <http> setup to get X5

i am new to spring security. can anybody provide me sample application for x509 certificate authenticatio开发者_StackOverflow中文版n with spring 2.0.4


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

精彩评论

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