What do you mean with "Is that the Shiro API?"

I tried it the way you described but that only gives me the wicket role 
mentioned before.



On 05/27/2014 12:40 PM, Dan Haywood wrote:

Is that the Shiro API?

~~~
I think (hope) that you can get the actual roles via Isis' API:

UserMemento user = DomainObjectContainer.getUser();
List<RoleMemento> roles = user.getRoles()

Perhaps we're missing something here, though..?

Dan



On 27 May 2014 11:35, Erik de Hair <[email protected]><mailto:[email protected]> wrote:



Hi,

Calling getUser().getRoles() only gives the role
"org.apache.isis.viewer.wicket.roles.USER". Is it possible to get the roles
assigned by shiro via JDBC-realm or do I have to query for these roles
myself?

Thanks,
Erik






Reply via email to