我在架设一个BLOG程序,原先是基于Tomcat的,使用JDBCRealm进行用户身份验证
现在我想把这个程序移植到Weblogic中.那我应该怎在weblogic中配置关联数据库中用户信息的Realm呢?以下是tomcat的Realm配置
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="com.mysql.jdbc.Driver"
connectionURL=
"jdbc:mysql://localhost:3306/roller?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8"
connectionName="root"
connectionPassword=""
userTable="rolleruser"
userNameCol="username"
userCredCol="passphrase"
userRoleTable="userrole"
roleNameCol="rolename" debug="0" />我想这应该就是最关键的最后一步了.希望知道的朋友给个帮助,谢谢
现在我想把这个程序移植到Weblogic中.那我应该怎在weblogic中配置关联数据库中用户信息的Realm呢?以下是tomcat的Realm配置
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="com.mysql.jdbc.Driver"
connectionURL=
"jdbc:mysql://localhost:3306/roller?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8"
connectionName="root"
connectionPassword=""
userTable="rolleruser"
userNameCol="username"
userCredCol="passphrase"
userRoleTable="userrole"
roleNameCol="rolename" debug="0" />我想这应该就是最关键的最后一步了.希望知道的朋友给个帮助,谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货