afaik basic authentication doesnt have an event handler you can register to know when the user has been authenticated.

if you want you can wrap that call into your session subclass

Principal MySessionSubclass.getLoggedinUser () { return RequestCycle.get().getRequest().....

-Igor


On 3/14/06, Mats Norén <[EMAIL PROTECTED] > wrote:
Mmm...ok, I'll rephrase. Is there a way within wicket to obtain the
logged in user if the user is authenticated by the container with
basic authentication and writing the user to a wicket session?

Without having to do this:

((WebRequest)getRequest()).getHttpServletRequest().getUserPrincipal()


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to