shiro - Get list of users which have a specific or set of permissions -
using shiro jdbcrealm
my utilize case requires user submit form next user. next user can specific permission. known in order show valid next user list selection.
how can list of users have specific permission? if not, there workaround of getting user permission strings database , @ to the lowest degree reuse shiro's logic check if user has specific permission?
shiro related security, authority, etc of current user not whole user base. can utilize standard sql queries retrieve users same permissions of current logged in subject.
why not utilize simple sql query matches current user permissions other users permission , give list. way save memory , resource not computing permissions logic in java again.
shiro jdbcrealm
No comments:
Post a Comment