I'd consider changing to an implementation that is Filter based and
opens/closes a session on every request... that way you could easily get the
current session from the request scope.
-David

> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Neumann
> Sent: Monday, July 04, 2005 10:30 AM
> To: user@struts.apache.org
> Subject: Re: Securityfilter persistent login
> 
> PPS: How can I access the servlets context in a securityfilter
> SecurityRealmInterface implementation?
> I use the struts HibernatePlugIn, and the hibernate session is stored
> in the servlets context.
> 
> So I need to access hibernate this way in my Realm implementation for
> database verification.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to