【问题标题】:configuring spring security only for authorisation?仅为授权配置弹簧安全性?
【发布时间】:2015-04-19 10:24:09
【问题描述】:

我的应用程序使用 angularjs 作为前端,使用 spring-security、spring mvc 和 hibernate 作为后端。身份验证过程是通过 Facebook 或 Twitter。 (仅限社交身份验证)。现在,我的要求是仅通过 Spring Security 处理授权,因为身份验证是使用 Facebook 完成的。我唯一的疑问是如何配置 Spring-security 仅用于授权而不用于身份验证。我怎样才能做到这一点?谢谢!!

【问题讨论】:

    标签: spring-security authorization


    【解决方案1】:

    您应该能够使用 AbstractPreAuthenticatedProcessingFilter 的实现来做到这一点。

    类似的帖子Spring security authorization without authentication using role only

    Spring security authorization without authentication

    希望这会有所帮助。

    谢谢, 保罗

    【讨论】:

      【解决方案2】:
      猜你喜欢
      • 2013-07-16
      • 2020-05-19
      • 2017-07-21
      • 2016-01-02
      • 2011-05-16
      • 2015-01-09
      • 2016-02-01
      • 2015-04-24
      相关资源
      最近更新 更多