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]> 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