Nils-
Save the current servlet request in a ThreadLoad. It's something no one
likes to do, but sometimes you have to do it.

See
http://kenai.com/projects/boxspring/sources/modules-svn/show/trunk/boxspring-http-objects-holder/src/main/java/com/mtvnet/boxspring/httpobjects?rev=260if
you need an example of this. (note - this code is slightly more
elaborate
than you need - it allows for the current request and response to be
available as Spring beans, which you don't need). The filter is in a
subpackage for what I'm sure was a good reason at the time but cannot
remember :)

Justin

On Mon, Mar 22, 2010 at 6:54 AM, Nils Weinander <[email protected]>wrote:

>
> Just realizing that I probably could come away with Session.impersonate()
> if
> I implement my own LoginModule. But, I would still need the servlet request
> in both the session factory and the login module.
>
> -----
> ____________________________________________________________
> Nils Weinander
> --
> View this message in context:
> http://n4.nabble.com/Jackrabbut-authentication-from-another-angle-tp1599551p1677443.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>

Reply via email to