tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geofrey rainey <geofr...@gmail.com>
Subject JAAS Realm Authentication with Kerberos
Date Tue, 01 Jun 2010 08:04:54 GMT
Hello,

I’ve been following this fairly self-explanatory document on Kerberos
authentication against an AD. If I hard-code the user@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>user@realm</role-name>
 </auth-constraint>


Regards,
Geofrey.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message