tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <wsm...@apache.org>
Subject Re: server.xml JNDIRealm question
Date Mon, 31 Oct 2005 19:57:31 GMT
From: "Klotz Jr, Dennis" <DKlotz@empirix.com>

> I've added :
> -Djavax.security.auth.useSubjectCredsOnly=false
> To my Catalina options environment variable in Catalina.bat.
> Now I get the error:
> java.lang.SecurityException: Unable to locate a login configuration

To get a JAASRealm to work with Kerberos, I have to set the following;

JAVA_OPTS="-Djava.security.krb5.realm=<your 
realm> -Djava.security.krb5.kdc=<your 
kdc:port> -Djava.security.auth.login.config=$CATALINA_HOME/conf/jaas.conf"

So... maybe you need 'java.security.auth.login.config' set?

-- 
Wendy
http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatJAASRealm


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message