Hi there!
Since 5.5.10 my JAAS LoginModule doesn't work anymore. I saw that
JAASRealm was changed in 5.5.10 and I wonder if anyone can tell me what
I am doing wrong.
Here is the (hopefully) relevant snippet from the logs:
DEBUG - Calling authenticate()
DEBUG - JAASRealm login requested for username "vnetadmin" using
LoginContext for application "InternDBLogin"
DEBUG - Login context created vnetadmin
INFO - login
DEBUG - Returned username "vnetadmin"
DEBUG - validateUser (vnetadmin)
DEBUG - Benutzer gefunden
DEBUG - Passwort identisch
DEBUG - VnetUser created! Username: vnetadmin, password:
9fcf5adf140eb36079a6726cdf883a104c9285c9
DEBUG - VnetRole created! Name: vnetadmin
DEBUG - VnetRole created! Name: manager
INFO - commit
DEBUG - JAAS LoginContext created for username "vnetadmin"
DEBUG - Checking Principal "VnetUser 28816391" [vnet.ws.jaas.VnetUser]
DEBUG - getName (user): vnetadmin
DEBUG - Principal "vnetadmin" is a valid user class. We will use this as the
user Principal.
DEBUG - Checking Principal "VnetRole 25976423" [vnet.ws.jaas.VnetRole]
DEBUG - getName (role): vnetadmin
DEBUG - getName (role): vnetadmin
DEBUG - Adding role Principal "vnetadmin" to this user Principal's roles
DEBUG - Checking Principal "VnetRole 9027862" [vnet.ws.jaas.VnetRole]
DEBUG - getName (role): manager
DEBUG - getName (role): manager
DEBUG - Adding role Principal "manager" to this user Principal's roles
DEBUG - Username "vnetadmin" successfully authenticated as Principal "{1}" --
Subject was created too
DEBUG - Authenticated 'vnetadmin' with type 'BASIC'
DEBUG - Calling accessControl()
DEBUG - Checking roles VnetUser 28816391
DEBUG - No role found: vnetadmin
DEBUG - No role found: doc_access
DEBUG - No role found: pub_access
DEBUG - No role found: dir_access
DEBUG - No role found: app_access
DEBUG - No role found: adr_access
DEBUG - No role found: order_access
DEBUG - Failed accessControl() test
So I am told that vnetadmin is added as a role to my user and right
after it Tomcat can't find the vnetadmin role. VnetRole and VnetUser are
my implementations of java.security.Principal.
Thanks in advance
Markus Plail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]