測試環境下使用的是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
雪地孤鴻 閱讀(708)
評論(0) 編輯 收藏 所屬分類:
java 、
sso