You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Ken in Nashua <kc...@live.com> on 2013/03/30 05:54:42 UTC

assigning role to administrator account

Folks,

In my shiro 

I have a role administrator
I have a user administrator

I am assigning role administrator to my administrator user

configuration.add(factory.createChain("/user/administrator/**").add(factory.roles(),
       Person.Role.administrator.toString()).build());

But this is not working.

Any ideas ?

Thanks