You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michael Muller <mm...@theworld.com> on 2003/07/22 07:00:40 UTC

how to access my datasource from a securityfilter realm?

I found a reference to the SecurityFilter project on this mailing list. 
  I just hooked it up, and it seems to work pretty well.

I do have a question, though.  Is there any way for the realm to use 
same datasource as struts?  I'm not passed anything useful.  Is there 
something static somewhere that I can access?

I could pass the connection information in as parameters to the realm, 
but then I've got the same config information in two places and I'm not 
using whatever nifty pooling is provided by struts' datasource.

Thanks,

   -- Mike



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org