users@glassfish.java.net

Re: Custom CertificateRealm for GlassFish

From: V B Kumar Jayanti <Vbkumar.Jayanti_at_Sun.COM>
Date: Thu, 12 Jul 2007 11:35:37 +0530

glassfish_at_javadesktop.org wrote:

>>Make sure that the domain.xml has only one
>>auth-realm entry for Certificates and the name of
>>the Realm should be "certificate" (you can specify
>> your classname over there).
>>
>><auth-realm classname="MyCertificateRealm"
>>name="certificate">
>> <property name="assign-groups" value="xyz" />
>></auth-realm>
>>
>>
>>
>
>I have only one Certificate realm with my custom class, but I don't have in domain.xml the property "assign-groups".
>
>
>
The assign-groups property would work with the Default GF Certificate
Realm. If you provide a custom realm then your custom class would have
to handle group assignment.

We will try to fix Issue #1302 and keep you posted on this.

Thanks.

>I added the property but I have the same problem, Glassfish don't use my custom realm.
>
>
>
>
>>There is a Bug filed GlassFish for this.
>>
>>
>
>I find the bug #1302 that seems to be my problem, but is not fixed yet. I'will hope that will be fixed for GlassFish v2.
>
>Thanks.
>[Message sent by forum member 'cpdprogramacion' (cpdprogramacion)]
>
>http://forums.java.net/jive/thread.jspa?messageID=226140
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>