Thanks. I was trying to get away with just using the JNDIRealm connector but if you don't mind I will use portions of your code for a custom JAAS Realm.
Thanks. -Dennis -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 2:58 PM To: Tomcat Users List Subject: Re: server.xml JNDIRealm question From: "Klotz Jr, Dennis" <[EMAIL PROTECTED]> > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]