Ok, bear with me. This is my first attempt at configuring Tomcat for any type of authentication. I've configured a host with a JDBCRealm to use a Sybase database for authentication. I added a security constraint, login-config and a security role, however when I point my browser to the URL, I don't see that little password box I'm so anxious to see. The relavant config snippets are below, anyone who can put me on the path to enlightenment would be deemed "a most knowledgeable and esteemed person" in my eyes :-)
Ed <Context className="org.apache.catalina.core.StandardContext" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper" cookies="true" crossContext="true" debug="2" docBase="/home/httpd/htdocs/erobbins/robbinsapps/IpnDownload" mapperClass="org.apache.catalina.core.StandardContextMapper" path="/IpnDownload" privileged="false" reloadable="true" swallowOutput="false" useNaming="false" wrapperClass="org.apache.catalina.core.StandardWrapper"> <Realm className="org.apache.catalina.realm.JDBCRealm" connectionName="xxxxxxx" connectionPassword="xxxxxxx" connectionURL="jdbc:sybase:Tds:xxxxxxxxxxxxxxxxxx:1234" debug="2" driverName="com.sybase.jdbc2.jdbc.SybDriver" roleNameCol="role_name" userCredCol="user_pass" userNameCol="user_name" userRoleTable="user_roles" userTable="user_names" validate="true"/> <security-constraint> <web-resource-collection> <web-resource-name>IpnDownload</web-resource-name> <description>Download location for Ipn web apps</description> <url-pattern>/IpnDownload/*</url-pattern> <url-pattern>*</url-pattern> </web-resource-collection> <auth-constraint> <description>These are the roles who have access</description> <role-name>download</role-name> </auth-constraint> </security-constraint> <login-config> <auth-method>BASIC</auth-method> </login-config> <security-role> <description>Download role</description> <role-name>download</role-name> </security-role> </Context> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>