users@glassfish.java.net

Re: JDBC realm, how GlassFish knows which group belongs to which user?

From: Arthur Yeo <artyyeo_at_gmail.com>
Date: Mon, 28 Mar 2011 10:05:50 -0700

Can someone confirm that for AuthC to work, don't we also need to configure
session for the appl; otherwise, what mechanism is used to keep subsequent
HTTP requests stay authenticated?


On Sun, Mar 27, 2011 at 8:40 PM, shing.wai.chan_at_oracle.com <
shing.wai.chan_at_oracle.com> wrote:

> You can find some information in one my old blogs:
> http://blogs.sun.com/swchan/entry/jdbcrealm_in_glassfish
>
> Shing Wai Chan
>
>
> On 3/27/11 7:41 PM, forums_at_java.net wrote:
>
>> Hi
>>
>> I'm trying to create a JDBC realm in GlassFish 3.1.
>>
>> I have created an user table (with username and password columns) and a
>> group
>> table (with just a name column).
>>
>> I'm wondering how GlassFish can tell which groups assigned to which user?
>> Isn't there should be one table storing these user group assignment?
>>
>>
>>
>>
>>
>>
>> --
>>
>> [Message sent by forum member 'hezjing']
>>
>> View Post: http://forums.java.net/node/785888
>>
>>
>>
>


-- 
Arthur Y.