Group and acl on Spring Security

后端 未结 3 1044
长情又很酷
长情又很酷 2021-01-31 06:53

I want to use Spring Security to manage user, group and permissions.

I want to use ACL to secure my domain objects but I can\'t find a way to assign a group to an acl.

3条回答
  •  醉酒成梦
    2021-01-31 07:25

    I would just use your Groups like Roles. I've found the Spring ACL implementation to be pretty unwieldy and for the most part unusable. Just assign users to "groups" (Roles in all actuality) and check them as you would normal role based authorization.

提交回复
热议问题