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
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 );
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
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
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.