Hello,

I’ve been following this fairly self-explanatory document on Kerberos
authentication against an AD. If I hard-code the u...@realm in the web.xml
file, authentication is successful. However obviously what one really wants
is the actual user credentials as stored in the Principals class,
javax.security.auth.kerberos.KerberosPrincipal, in the web.xml for each
Subject authenticating, but I’m a bit lost as to how to get that information
from the class into the web.xml. Any ideas would be appreciated?

   (
http://wiki.wsmoak.net/cgi-bin/wiki.pl?action=browse&diff=1&id=TomcatKerberosConfigOnly)


<auth-constraint>
          <role-name>u...@realm</role-name>
 </auth-constraint>


Regards,
Geofrey.

Reply via email to