question on how to use digest on tomcat# Java - 爪哇娇娃
l*r
1 楼
I met a strange problem on JDBCRealm:
In my server.xml, it looks like:
className="org.apache.catalina.realm.JDBCRealm"
debug="99"
driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost/auth"
connectionName="user"
connectionPassword="password"
userTable="users"
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles"
roleNameCol="role_name"
digest="MD5"
/>
It works if I use FORM authentication. So I am sure
mysql driver and MD5 are working fine. But it d
In my server.xml, it looks like:
debug="99"
driverName="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://localhost/auth"
connectionName="user"
connectionPassword="password"
userTable="users"
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles"
roleNameCol="role_name"
digest="MD5"
/>
It works if I use FORM authentication. So I am sure
mysql driver and MD5 are working fine. But it d