fylix0000
asked on
how to make JDBCRealm to check role only.
I posted the same question at web server section but no answer so far :( figure I try it here.
<Realm className="org.apache.cata lina.realm .JDBCRealm " driverName="org.gjt.mm.mys ql.Driver" connectionURL="jdbc:mysql: //localhos t/authorit y" 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?
<Realm className="org.apache.cata
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?
Are you looking to implement single sign-on with Windows and Tomcat?
ASKER
I'm using IIS to check the user name and password, which is basdically user's NT log on. Once IIS "authenticate" this, tomcat will use the JDBCRealm to "authorize" if this NT user name has the correct role before it let the user in.
Right now, the above Realm setup make Tomcat does both authentication and authorization process.
I albe to get IIS to check the user name and password but I do not know how to make Tomcat to check just the role only.
Right now, the above Realm setup make Tomcat does both authentication and authorization process.
I albe to get IIS to check the user name and password but I do not know how to make Tomcat to check just the role only.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.