开发者

How to get permission's role with seam

开发者 https://www.devze.com 2023-01-10 17:57 出处:网络
I need in my applicatio开发者_运维问答n to get all permissions associated with a specific role with seam ?

I need in my applicatio开发者_运维问答n to get all permissions associated with a specific role with seam ?

I tried with permissionManager.listPermissions but this method gives permissions associated with a specific target and not a specific recipient (role in my case).

Thanks for your help.


this is not possible by default in Seam. However, you can extend your permission store to do this. If you are using the JpaPermissionStore (which in most of the cases is true), you can check this link

0

精彩评论

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

关注公众号