代码之家  ›  专栏  ›  技术社区  ›  Gregg

使用jaxrs插件用spring security核心保护Jersey RESTful服务

  •  1
  • Gregg  · 技术社区  · 15 年前

    我需要在Grails应用程序中为客户机实现一些RESTful web服务,我想使用jaxrs插件,但我花了很多时间寻找关于如何实现非基于领域的安全性的信息(tomcat users.xml)。我正在使用SpringSecurityCore插件,我想利用它对我的Web服务进行身份验证。如何将凭据发送到webservice,然后使用spring security对其进行身份验证?有人能告诉我正确的方向吗?

    1 回复  |  直到 15 年前
        1
  •  1
  •   Gregg    15 年前

    我找到了以下内容,并使用了修改后的解决方案来解决我的问题

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

    推荐文章