测试环境下使用的是mysql数据库,切换到正式的oralce数据库中去发现cas server是无效的,主要的原因是由于数据库的差异导致的
认证用户的sql语句在mysql
下为:
select password from user_login where username=? and e
nabled=true
而在oracle下应该为
select password from user_login where username=? and 
enabled=1
主要由于oralce和mysql对boolean字段的处理不一致导致的。
	
posted on 2011-01-26 09:05 
雪地孤鸿 阅读(725) 
评论(0)  编辑  收藏  所属分类: 
java 、
sso