Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] JAAS custom callbacks

You should just have to call setCallBackHandlerClass(String name) on
the login service, and then on login it is instantiated and set as the
callback handler..

where are you looking to see the behavior you are?

cheers,
jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx



On Fri, Aug 5, 2011 at 12:48, Todor Boev <rinsvind@xxxxxxxxx> wrote:
> Hi,
>
> I am trying to set a custom JAAS Callback as instructed in
>
> http://wiki.eclipse.org/Jetty/Tutorial/JAAS#Using_the_CallbackHandler
>
> My callback is never instantiated or called. I examined the code of
>
> org.eclipse.jetty.plus.jaas.JAASLoginService
>
> and discovered that it does not use the callback setting at all. In
> the login() method it simply creates an anonymous Callback instance
> and uses that. So it seems there is simply no way for me to use my
> callback and the documentation is wrong.
>
> Can you please tell me if there is a way to get my callback
> instantiated and called?
>
> Regards,
> Todor
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>


Back to the top