After reading up a bit on yahoo bbAuth, i'm thinking the following will work.
Take the code shown here
http://developer.yahoo.com/java/howto-BBauthJava.html for the servlet
and convert it to a servlet filter.
Then in your web.xml use this new WicketBbAuthFilter for your app
together with the original WicketFilter.
The WicketFilter must be the first to be invoked to setup wicket then
your WicketBbAuthFilter.

Spring can be handled as with any normal wicket application.

Note that the servlet example also checks if someone is already logged
in and if not authenticates them with yahoo.
You could do this too (although i would get that information from the
wicket session) or you can use a separate login page to do the
authentication request for you and let the filter just handle the
response.

Maurice

P.S. this is all from reading just a little bit about bbAuth, so i
can't give you any guarantees ;)

On Sat, Feb 23, 2008 at 9:04 PM, smallufo <[EMAIL PROTECTED]> wrote:
> Hi .
>  I wonder if wicket can act as a servlet front controller ?
>
>  I have a normal wicket webapp , but I need one "endpoint" to process Yahoo's
>  bbAuth's request.
>  Yes , I can write normal servlet to process this , but normal servlet lacks
>  of spring injection and cannot access to wicket's environment.
>  Therefore , I need a specialized wicket "endpoint" , and that endpoint must
>  coexist with my wicket app .
>  How to do that ?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to