Reena, You have to implement a jdbc realm. There you provide the query to get the user/roles resultset. El may 22, 2014 7:44 AM, "reena upadhyay" <[email protected]> escribió:
> Hi, > > I want to perform authorization using shiro. I have stored the roles and > permission info in database. If I want to update or add new role and > permission, then every time I have to go to database, and have to manually > execute the query. Does shiro provide any api by which I can update/add > role permission in database? Also if insetad of database I am using another > data source like ldap to store role, permission info, then is there any > shiro api for the same use case. > > > > *Thanks,Reena Upadhyay* >
