Re: How to Get Current Request

Torgeir Veimo <[email protected]> Mon, 27 Jun 2005 16:08:10 +0100
Newsgroups gmane.comp.java.securityfilter.user
Message-ID <1119884890.24171.1.camel@localhost>
On Sat, 2005-06-25 at 16:01 -0700, Rob Pratt wrote:

> I want to get the current request object from inside my SecurityRealm
> class, and after going through the SecurityFilter sources, I'm still
> clueless. Can anyone give me a couple/few lines of code to do it? I've
> gone through the list archives (and googled and googled and googled, and
> I don't see anything related. (Sorry if I missed it.)

The authenticator / realm interface isn't designed for this. You'd have
to make an enhancement.

-- 
Torgeir Veimo <[email protected]>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click