how to make JDBCRealm to check role only.
Posted on 2006-03-22
I posted the same question at web server section but no answer so far :( figure I try it here.
<Realm className="org.apache.catalina.realm.JDBCRealm" driverName="org.gjt.mm.mysql.Driver" connectionURL="jdbc:mysql://localhost/authority" connectionName="test" connectionPassword="test" userTable="users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="user_roles" roleNameCol="role_name" />
Above is the typical Realm tag in Tomcat, as you can see it uses to verify user name, password and user roles. However, I have tomcat working with IIS and IIS took care of checking the NT user name and password, is there a way I can use JDBCRealm to just verify the role only?