You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Graeme Pyle <gr...@raspberry.co.za> on 2005/04/09 11:12:20 UTC
Realm instance within webapp
Hello,
Can I put my Realm subclass within my webapp instead of inside Tomcat's
lib directories somehow?
My custom Realm subclass uses other classes within my webapp, so I'm
finding I have to include more and more of my webapp within the Tomcat
lib directories - not very nice at all :-(
Or am I missing something? My passwords are in an XML file, so none of
the existing Realm classes work for me. Is there a better way?
Thanks,
Graeme
--
Graeme Pyle
Raspberry Solutions
Email: graeme@raspberry.co.za
Cell: 083 415 1642
Office: (011) 447 5396
Web: www.raspberry.co.za
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Realm instance within webapp
Posted by Mark Thomas <ma...@apache.org>.
Graeme Pyle wrote:
> Hello,
>
> Can I put my Realm subclass within my webapp instead of inside Tomcat's
> lib directories somehow?
No. Realms require access to Tomcat internals in order to work.
> My custom Realm subclass uses other classes within my webapp, so I'm
> finding I have to include more and more of my webapp within the Tomcat
> lib directories - not very nice at all :-(
Indeed.
> Or am I missing something? My passwords are in an XML file, so none of
> the existing Realm classes work for me. Is there a better way?
Realms should be independent of webapp. Any Realm should work with any
webapp.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org