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 >/WEB-INF/classes  and the log4j-.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 sample p

application specific log4j configuration

2006-08-04 Thread Jan Zach
Hi, is there any possibility to customize log4j settings for particular application, e.g. in META-INF/context.xml or similar rather than in global settings common/classes/log4j.properties? I'd like to deploy an application and force it to log into its own file. Thanks Regards jan

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 session/htt

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