Re: Accessing a custom user principal from a JAAS Realm

2005-10-19 Thread Brad O'Hearne
Yoav, Thanks for the reply. What version of Tomcat are you referring to? I am using Tomcat 5.0.28. With regards to your code below, there is no getUserPrincipal() method on the org.apache.catalina.realm.GenericPrincipal class. Furthermore, how's this for bizarre -- if I do an instanceof

Accessing a custom user principal from a JAAS Realm

2005-10-17 Thread Brad O'Hearne
After several days of questions on the user mailing list surrounding this issue, I received an answer today which I need to confirm with any of the developers out there. Basically, I am using Tomcat 5.0.28, and using the JAAS realm for authentication and authorization. In my JAAS login module,