I hope I am not becoming annoying.. but...
If I create my own JDBCRealm by copying the original source code I would
have
to add a custom login configuration to <domainroot>/config/login.config
right?
And setup a new Realm configuration in Glassfish?
I was hoping I could somehow attach the Eclipse debugger to a running
instance
of Glassfish and tell Eclipse where to find the source for the Glassfish
instance
so I could debug the actual realm I'll be using in production. Do you know
if this
is possible?
Thanks again for all your help, it's greatly appreciated!
-Stijn
----- Original Message -----
From: "Dominik Dorn" <dominik.dorn_at_gmail.com>
To: <users_at_glassfish.dev.java.net>
Sent: Monday, May 03, 2010 8:18 PM
Subject: Re: Want to debug JDBCRealm
> you could simply copy the jdbc realm to your own namespace/package and
> use that one.
> You don't have to compile the whole application server, the jdbc realm is
> just about 100 lines or so.
>
>
> On Mon, May 3, 2010 at 7:21 PM, Stijn de Witt <StijnDeWitt_at_chello.nl>
> wrote:
>> Thanks Dominik,
>>
>> <snip> I still have a question. You say I should copy the compiled
>> classes to
>> Glassfish's lib directory... but I thought the JDBCRealm is bundled with
>> Glassfish
>> already? Won't me copying a second JDBCRealm in there cause conflicts?
>>
>> I will let you know of my progress. Thanks for your help!
>>
>> -Stijn
>>