开发者

Spring role-based authorization VS ACL?

开发者 https://www.devze.com 2023-04-12 10:54 出处:网络
i just want to know the diff开发者_如何学Pythonerence between using ACL and spring role-based authorization in spring security 3 ?ACL are privileges defined for an specific entity. And role based auth

i just want to know the diff开发者_如何学Pythonerence between using ACL and spring role-based authorization in spring security 3 ?


ACL are privileges defined for an specific entity. And role based authorization are global privileges.

For example, with ACLs you can define that a specific user can modifiy a entity X (for example a file) but not an other entity.

Without ACLs you can only define that a user can modify all or none entity (of a specific type).

So ACLs support entity related fine grained privileges.

0

精彩评论

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