【问题标题】:Tell Grails to use My Own RoleVoter告诉 Grails 使用 My Own RoleVoter
【发布时间】:2013-10-24 02:06:10
【问题描述】:

我已经实现了自己的 RoleVoter 版本,并将以下内容添加到 resources.groovy 文件中:

organizationRoleVoter(OrganizationRoleVoter)

accessDecisionManager(UnanimousBased) {
  decisionVoters = [organizationRoleVoter]
}

但是 Grails 没有使用它。没有断点,我自己的班级没有调试。我假设我只是没有正确配置它。有人有什么建议吗?

【问题讨论】:

    标签: grails spring-security


    【解决方案1】:

    刚刚在spring-security-core docs找到了怎么做。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-12-28
      • 2011-02-21
      • 1970-01-01
      • 2022-11-25
      • 1970-01-01
      • 1970-01-01
      • 2013-06-25
      相关资源
      最近更新 更多