Question

I'm loading user claims using org.wso2.carbon.user.core.UserStoreManager. In the claim information i have the list of roles for the current user. Is there a way to programatically get the assigned permissions for each role?

Was it helpful?

Solution

The UserAdmin service has a method getRolePermissions that does exactly this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top