From: "Adam Hardy" <[EMAIL PROTECTED]>
Yes that's more or less what I did when writing a JBoss login module.
Unfortunately the JBoss stuff was really still in beta and I had to do a
fair amount of debugging to work out how to make it work.
Same here... after hours spent with JSwat stepping through the Catalina
source code, I came up with three examples of Kerberos authentication with
Tomcat's JAASRealm:
http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatJspExamples
I ended up going with a custom Realm that does nothing more than extend
JAASRealm and override the 'authenticate' method. I have to construct a new
GenericPrincipal with the roles that I need, since they don't come from
Kerberos.
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]