users@glassfish.java.net

Re: application-client.xml :: <callback-handler> ignores my class.

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Tue, 5 Dec 2006 17:52:08 +0100

I've just tried Glassfish v2 b26 and my callback-handler is now
invoked, that's great.
Bad thing is that NetBeans 5.5 is not compatible with Glassfish v2 :(
I have tried v1 nightly build b15, it is dated 06.oct.2006, few days
after v2 b20... but it has same problem as v1 b14, so I cannot provide
my own CallbackHandler implementation :(

Do you know any other way to change callback handler that would work
in Glassfish v1?
I have to brand my login module, so the logo of my customer would
appear and it would look like part of my application... Any ideas?


2006/12/5, Witold Szczerba <pljosh.mail_at_gmail.com>:
> Thanks for help!
>
> What I see is that b14 is the most up-to-date version of Glassfish V1:
> https://glassfish.dev.java.net/public/downloadsindex.html
>
> You said, I should take build20 or newer, did you mean Glassfish V2?
> Is V2 compatible with V1? I am using NetBeans 5.5, is it going to
> cooperate with this without problems?
>
> If you have a fix for that for more than 2 months now (v2 b20
> released: 04 October 2006) why it is not included in most popular
> versions which are available not only from Glassfish dev page, but
> from Sun Java SDK as well?
>
> Thanks again,
> Witek
>
> 2006/12/5, Tim Quinn <Timothy.Quinn_at_sun.com>:
> > Hello, Witold.
> >
> > The problem you mention was fixed in build 20. In general, we try to
> > use the Target Milestone field on the issues to indicate which build
> > actually contains the fix once the issue is resolved, and that's what I
> > did when I fixed this issue.
> >
> > If you can, please try build 20 or later and see if that takes care of
> > the problem for you.
> >
> > - Tim
> >
> > Witold Szczerba wrote:
> > > Hello there!
> > > I have simple Java EE Application with one EJB and one Aplication
> > > Client deployed into Glassfish v1 UR1 b14. When I place @RolesAllowed
> > > annotation on my session bean then when starting client, some default
> > > login window appears and asks me for username and password... I read
> > > that one can use its own implementation of CallbackHandler. I created
> > > one and set in application-client.xml:
> > > <callback-handler>
> > > enterpriseapplication2.MyCallbackHandler
> > > </callback-handler>
> > >
> > > But it actually does nothing. Still there is same default login window :/
> > > I've found Issue 1216, but I don't know is that the same problem and
> > > if it was fixed before b14 or later?
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
> >
>