You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by nhhockeyplayer nashua <nh...@hotmail.com> on 2013/03/30 20:01:00 UTC

does shiro have a default admin role ?

Is it called ADMIN or admin or administrator ?

Can someone please help ?

Best regards 
and thanks... KEN 		 	   		  

Re: does shiro have a default admin role ?

Posted by Les Hazlewood <lh...@apache.org>.
Shiro does not have a default admin role.

If you want to define a static list of roles, for example, in shiro.ini,
you can do this:

[users]
myuser = admin

[roles]
admin = perm1, perm2, perm3

These sections are documented here:

http://shiro.apache.org/configuration.html#Configuration-%255Cusers%255C

Cheers,

--
Les Hazlewood | @lhazlewood
CTO, Stormpath | http://stormpath.com | @goStormpath | 888.391.5282


On Sat, Mar 30, 2013 at 12:01 PM, nhhockeyplayer nashua <
nhhockeyplayer@hotmail.com> wrote:

> Is it called ADMIN or admin or administrator ?
>
> Can someone please help ?
>
> Best regards
> and thanks... KEN
>