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/16 20:19:38 UTC
naming collisions users versus roles
Folks,
Are these naming conventions going to trigger a collision internally ?
[users]
# The 'users' section is for simple deployments
# when you only need a small number of statically-defined
# set of User accounts.
administrator = administrator,administrator
anonymous = anonymous,anonymous
[roles]
# The 'roles' section is for simple deployments
# when you only need a small number of statically-defined
# roles.
administrator = create,read,update,delete
anonymous = read,update
the users and roles are the same name. i m wondering if they will trigger a collision.
Best regards
and thanks... KEN
Re: naming collisions users versus roles
Posted by Les Hazlewood <lh...@apache.org>.
Correct - Shiro does not care if user names and role names are the
same - it still treats them separately.
Les
On Mon, Mar 18, 2013 at 9:26 AM, NabbleSometimesSucks
<bi...@yahoo.com> wrote:
> No they won't because they are stored and assigned to different properties of
> different objects.
>
> Mark
>
>
>
> --
> View this message in context: http://shiro-user.582556.n2.nabble.com/naming-collisions-users-versus-roles-tp7578422p7578429.html
> Sent from the Shiro User mailing list archive at Nabble.com.
Re: naming collisions users versus roles
Posted by NabbleSometimesSucks <bi...@yahoo.com>.
No they won't because they are stored and assigned to different properties of
different objects.
Mark
--
View this message in context: http://shiro-user.582556.n2.nabble.com/naming-collisions-users-versus-roles-tp7578422p7578429.html
Sent from the Shiro User mailing list archive at Nabble.com.