开发者

Securing Jersey RESTful services with spring-security-core using jaxrs plugin

开发者 https://www.devze.com 2023-01-21 08:32 出处:网络
I\'m needing to implement some RESTful webservices for a client in a Grails app and I want to use the jaxrs plugin but I am having a heck of a time finding information on how to implement security tha

I'm needing to implement some RESTful webservices for a client in a Grails app and I want to use the jaxrs plugin but I am having a heck of a time finding information on how to implement security that isn't realm based (tomcat-users.xml). I am using the spring-security-core plugin and I'd like to utilize it to authenticate a开发者_Python百科gainst my webservices. How do I send credentials to the webservice and then authenticate those using spring security? Can someone point me in the right direction?


I found the following and used a modified version of the solution to solve my problem

http://blogs.bytecode.com.au/glen/2010/01/15/hacking-custom-authentication-providers-with-grails-spring-security.html

0

精彩评论

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

关注公众号