users@glassfish.java.net

Re: what are values for class-name attribute of the principal-name element of sun-web.xml?

From: <Ronald.Monzillo_at_Sun.COM>
Date: Mon, 25 Jan 2010 15:49:26 -0500

On 01/25/10 03:55, Kumar Jayanti wrote:
> Sarah kho wrote:
>> Hi,
>>
>> Can someone please let me know what are values for class-name
>> attribute of the principal-name element of sun-web.xml?
>> whether its value is mandatory or not?
> It is not mandatory. It is the name of the class that holds the
> principal.
>
> regards,
> kumar

As Kumar said, you need not specify a principal-class.

This optional attribute was provided to support the use of custom
principals in principal-2-role mapping and run-as principal.

AFAIK, there remains a problem with the use of a custom principal as the
(primary) web tier user principal.

Ron
>>
>> thanks.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>