users@glassfish.java.net

Re: jdbsRealm & Roles

From: Kumar Jayanti <v.b.kumar.jayanti_at_oracle.com>
Date: Thu, 10 Nov 2011 14:34:04 +0530

On 10-Nov-2011, at 2:11 AM, forums_at_java.net wrote:

> [quote=nitkal]
>
> One way is to enable Default Principal to Role mapping (From the admin
> GUI or asadmin cli). This way, the roles get assigned to groups of the same
> name.
>
> [/quote]
>
> If I set unique role for each method?
>
> I'll have a lot of groups for all new deployed applications and groups from
> xml.

Default P2R is about mapping Role X to Group X.
>
> And I still did not put roles into data base.
>
> Is this true?
Yes it is still not in DB
>
>
>
> And...
>
> When I need fill "Mapped Principal" Class text field?
>
Not required by default. Only if you want to customize the principal class.

regards,
kumar

>
>
>
> --
>
> [Message sent by forum member 'the_pleiades']
>
> View Post: http://forums.java.net/node/861575
>
>