Re: Defining loggers "best" approach?

2006-09-29 Thread Darren Clarke
But as Mark's loggers are 'static', don't they have the same semantics WRT serialization as 'instance transient' ? If so, Mark's would seem more efficient to me (though I could be wrong) due to reduced object instantiations. Darren On 29 Sep 2006, at 14:20, Caldarale, Charles R wrote:

Re: Custom Principal casting problem

2006-09-22 Thread Darren Clarke
(I_TestPrincipal in the example code below) was in both server/lib and common/lib and therefore my custom Realm was actually loading from server/lib instead of common/lib. On 21 Sep 2006, at 12:53, Darren Clarke wrote: Hi Apologies in advance if I'm going over old ground here - I

Re: Custom Principal casting problem

2006-09-21 Thread Darren Clarke
75ed3c2e2e221a) was the way of getting around this problem. Cheers Darren On 21 Sep 2006, at 15:03, Peter Crowther wrote: From: Darren Clarke [mailto:[EMAIL PROTECTED] request.getUserPrincipal().getClass().toString() returns "poc.security.TestPrincipal"

Re: Custom Principal casting problem

2006-09-21 Thread Darren Clarke
intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From:

Custom Principal casting problem

2006-09-21 Thread Darren Clarke
rrectly, this should work. However, although my realm still works fully and authentication succeeds and although my JSP can find/load the interface class, the cast (I_TestPrincipal) request.getUserPrincipal() still fails. In case it helps, I'm running Tomcat 5.5.17 on Mac OS 10.4.7 T