Re: Re: application specific log4j configuration

2006-08-05 Thread Jan Zach
Hi Fred, it works nicely, thanks! regards jan I believe you can put the log4j.properties into the approot/WEB-INF/classes  and the log4j-version.jar and commons-logging.jar into the related WEB-INF/lib see  http://tomcat.apache.org/tomcat-5.5-doc/logging.html I tested with the following

programatic jaas authentication

2006-03-19 Thread Jan Zach
Hi Everybody, I got working container JAAS authentication (area protected by url set in web.xml), I also know how to authenticate against JAAS. But what I cannot sort out is how to programatically force container to authenticate (from login dialog), i.e., how to get principal to the

custom jaas login module

2006-02-09 Thread Jan Zach
Hi all! in org.apache.catalina.realm.GeneralPrincipal I've found the following code: public Principal getUserPrincipal() { if (userPrincipal != null) { return userPrincipal; } else { return this; } } Could anybody explain me the reason why