H
hooyu
Unregistered / Unconfirmed
GUEST, unregistred user!
在server.xml的的设置:
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="com.microsoft.jdbcx.sqlserver.SQLServerDriver"
connectionURL="jdbc:microsoft:sqlserver://server1:1433;User=sa;Password="
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="com.microsoft.jdbcx.sqlserver.SQLServerDriver"
connectionURL="jdbc:microsoft:sqlserver://server1:1433;User=sa;Password="
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />