Re: Tomcat JAAS Authentication NullPointerException

2010-08-12 Thread mjmatch
I resolved the issue. I had a bad equals function in my RolePrincipal object that caused the null pointer exception. mjmatch wrote: > > I have configured Tomcat to do JAAS authentication using a custom > login/error page. I am getting a nullponterexception as defined below. >

Re: Tomcat JAAS Authentication

2010-08-12 Thread mjmatch
I am using tomcat V6.0.29. Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Marco, > > On 8/12/2010 11:31 AM, mjmatch wrote: >> I have configured Tomcat to do JAAS authentication using a custom >> login/error >> page.

Tomcat JAAS Authentication

2010-08-12 Thread mjmatch
I have configured Tomcat to do JAAS authentication using a custom login/error page. I am getting a nullponterexception as defined below. Log messages indicate that my JAAS authentication module is invoked and returning 'true' from the auth module ::commit function. I have defined my own User an