HTTP Status 403 - Access to the requested resource has been denied

Posted by Stardust on Stack Overflow See other posts from Stack Overflow or by Stardust
Published on 2010-03-25T06:09:02Z Indexed on 2010/03/25 6:13 UTC
Read the original article Hit count: 840

Filed under:
|
|
|

I want to enable form based authentication by using database as realm but I'm always getting that message whenever I try to authenticate as Tomcat manager in Tomcat 6. I have already created a table user_name and user_roles and mapped the username(blue) to admin and manager as role in user_roles table in mysql, but still I'm unable to authenticate and enable form based authentication. I've alreay recreated realm tag in server.xml file:

 <Realm className="org.apache.catalina.realm.JDBCRealm"
debug="99" driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost:3306/mail" connectionName="root" userTable="users"
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" /> 

Could anyone please tell me what's wrong I'm doing?

© Stack Overflow or respective owner

Related posts about java

Related posts about tomcat