<?xml version="1.0" encoding="UTF-8"?>
<Context path="/dropInv">
    <Realm className="org.apache.catalina.realm.JAASRealm"
        appName="dropInv" 
        userClassNames="com.ips.security.UdUser"
roleClassNames="com.ips.security.UdRoles"
useContextClassLoader="true" />
</Context>

I just added the appName for testing and it didn't help.

com.ips.security.* is in the project .war file.


Production server :
JAVA_OPTS=-DJAVA_OPTS=-Djava.security.auth.login.config==/opt/tomcat/conf/jaas.config
as well as the JVM settings similar to those on the dev server.

Development Server:

/usr/local/apache-tomcat-6.0.16/auth.conf:
dropInv {
        com.ips.security.UdLoginModule required;
        loginFile="VALIDATION";
        loginKey="100!IPS.DROP.AUTH";
        userAttr="3";
        credAttr="4";
        roleAttr="5";
};

java.security:
#
# Default login configuration file
#
#login.config.url.1=file:${user.home}/.java.login.config
login.config.url.3=file:///usr/local/apache-tomcat-6.0.16/auth.conf





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to