RE: Custom JAAS LoginModule not authorizing GenericPrincipal roles

2006-12-20 Thread Workman, Joe
Thanks Charles and John, you were both a great help!!! I got it working now. Cheers Joe -Original Message- From: John McPeek [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 19, 2006 6:50 PM To: Tomcat Users List Subject: Re: Custom JAAS LoginModule not authorizing GenericPrincipal

Custom JAAS LoginModule not authorizing GenericPrincipal roles

2006-12-19 Thread Workman, Joe
I'm trying to use my own LoginModule. Its is successfully authenticating my username but the problem is when its trying to authorize my roles. Tried: 1. Here is the code snippet from my LoginModule commit method. Code: List roles = new ArrayList(); roles.add( tomcat_auth_role );

RE: Custom JAAS LoginModule not authorizing GenericPrincipal roles

2006-12-19 Thread Workman, Joe
with the username of the rolename, everything worked as expected. This behavior is not normal is it? I feel that the JAASRealm should be able to find the roles from the GenericPrincipal Class. Is there a bug that I am not aware of here? Cheers Joe -Original Message- From: Workman, Joe [mailto:[EMAIL

RE: Using 2 Realms for authentication and access control

2006-12-18 Thread Workman, Joe
I have not seen any response to this . . . . Can anyone help? Please?!? Cheers Joe From: Workman, Joe Sent: Friday, December 15, 2006 12:30 PM To: 'users@tomcat.apache.org' Subject: Using 2 Realms for authentication and access control I have an application

Using 2 Realms for authentication and access control

2006-12-15 Thread Workman, Joe
I have an application that runs on tomcat that by default uses a JDBCRealm to query a database for authentication. I would like to use Kerberos for the user password authentication but still use my JDBCRealm for access control through roles. I was hoping you could point me in the right direction.