Re: Tomcat user principal

2005-10-17 Thread Brad O'Hearne
Response below: Wendy Smoak wrote: From: "Brad O'Hearne" <[EMAIL PROTECTED]> I would have expected that designation of the user class name would have resulted in my being returned the class I specified for the user class name from the requestion.getUserPrincpal() method, but it doesn't. W

Re: Tomcat user principal

2005-10-15 Thread Wendy Smoak
From: "Brad O'Hearne" <[EMAIL PROTECTED]> I would have expected that designation of the user class name would have resulted in my being returned the class I specified for the user class name from the requestion.getUserPrincpal() method, but it doesn't. What version of Tomcat are you using? A

Re: Tomcat user principal

2005-10-15 Thread Brad O'Hearne
Wendy, Thanks for the reply. Here is my realm setup in my Tomcat server.xml: appName="imap" userClassNames="com.redbarnsoftware.web.security.UserPrincipal" roleClassNames="com.redbarnsoftware.web.security.RolePrincipal" debug="99" /> I would have expected that designatio

Re: Tomcat user principal

2005-10-15 Thread Wendy Smoak
From: "Brad O'Hearne" <[EMAIL PROTECTED]> I am using the JAASRealm for Tomcat 5.x, and in my JAAS module, I am storing my own Principal subclass as the user principal. In my subsequent servlets, when I invoke the request.getUserPrincipal() method, I am not returned my user principal, but I am in