jaas j_security_check疑問?
我想簡單實現一下jaas的登陸驗證,出現了使用者名稱密碼明明是正確的,卻老是說密碼錯誤,跳到錯誤的頁面,請banq大哥和其他大哥幫我分析一下,這是哪裡出的錯呢?
應該很有可能是資料庫的錯誤?
我的資料庫表如下:
id userName password email role rolegroups
1 qugl abcd quguilai2006@163.com User roles
2 aaa aaa aaa@163.com User roles
login_config.xml裡配置如下:
<module-option name="principalsQuery">select password from user where userName=?</module-option>
<module-option name="rolesQuery">select roleid,rolegroup from user where userName=?</module-option>
請幫我分析下,錯誤出在哪裡?弄了很久了,不勝感激!
應該很有可能是資料庫的錯誤?
我的資料庫表如下:
id userName password email role rolegroups
1 qugl abcd quguilai2006@163.com User roles
2 aaa aaa aaa@163.com User roles
login_config.xml裡配置如下:
<module-option name="principalsQuery">select password from user where userName=?</module-option>
<module-option name="rolesQuery">select roleid,rolegroup from user where userName=?</module-option>
請幫我分析下,錯誤出在哪裡?弄了很久了,不勝感激!
[該貼被quguilai於2007年06月05日 10:48修改過]
相關文章
- 關於j_security_check的問題 高手請指教
- JAAS中的認證與授權問題
- Ibatis的疑問BAT
- composite模式疑問模式
- 快取的疑問快取
- 橋模式的疑問模式
- oracle疑問和解答Oracle
- GO 指標*&問題疑問Go指標
- object-c中疑問Object
- to banq --jdf學習疑問
- 請blueoxgen解決疑問
- Chain of Responsibility模式疑問AI模式
- JPetStore架構的疑問架構
- 工廠模式的疑問模式
- Composite模式的疑問模式
- Jive原始碼的疑問原始碼
- 初學者的小疑問
- 最近看JdonFramework的疑問Framework
- 初學JAVA的疑問。。Java
- 命令模式下如何使用Jaas?模式
- 機器學習入門實戰疑問機器學習
- 安卓串列埠通訊疑問安卓串列埠
- golang struct 有點小疑問?GolangStruct
- 【Oracle】arraysize的研究(存在疑問)Oracle
- asynchttpclient 使用的一點疑問HTTPclient
- 開源疑問知多少(一)
- 開源疑問知多少(二)
- 開源疑問知多少(三)
- aix系統topas命令疑問AI
- 控制檔案大小的疑問
- 關於TargetServiceFactoryVisitable的疑問
- 擴充套件JAAS,XMLPolicyFile實現套件XML
- 關於 dingo API 的疑問GoAPI
- 有關事件的一點疑問事件
- 關於jdonframework框架的小疑問Framework框架
- PO,VO 之懶載入疑問
- 關於設計模式的疑問設計模式
- 增刪改查框架的疑問框架