11
A
回答
15
發現這對old Acegi blog - 希望它有助於
Disabled indicates an account has been administratively or automatically disabled for some reason. Usually some action is required to release it.
Locked indicates an account has been automatically suspended due to invalid login attempts. Usually the passage of time or (less often) requesting manual unlocking is required to release it.
The distinction is not used by Acegi Security code aside from providing more informative errors to the user. There is also an order in which different exceptions should be returned, so that a disabled or locked account for instance will not return a bad credentials exception. Refer to the JavaDocs for more details.
相關問題
- 1. @ModelAttribute和@SessionAttrubutes在彈簧之間有什麼區別
- 2. @Named和@Qualifier在彈簧之間有什麼區別
- 3. 彈簧啓動和彈簧安全4.0
- 4. 彈簧安全JAR文件之間的區別?
- 5. 彈簧安全 - 活動目錄返回49 - 775(用戶帳戶鎖定)的有效(解鎖)用戶
- 6. 鎖定和互鎖之間的區別
- 7. 彈簧啓動彈簧安全
- 8. 彈出窗口和彈出窗口之間有什麼區別?
- 9. 使用synchronized關鍵字和鎖之間有什麼區別
- 10. ServiceProcessInstaller帳戶屬性之間有什麼區別
- 11. 彈出和安全移除USB設備有什麼區別?
- 12. Reactjs彈簧啓動安全
- 13. Spring MVC:彈簧之間的區別:綁定和窗體:窗體
- 14. advantage iOS Enterprise帳戶和標準帳戶有什麼區別?
- 15. yarn.lock和npm的包裝鎖之間有什麼區別?
- 16. 同步塊和條件變量鎖之間有什麼區別?
- 17. 在彈簧配置中,使用name和id有什麼區別?
- 18. lockObject上的synchronized和使用此鎖作爲鎖之間有什麼區別?
- 19. 彈簧安全2.0彈簧安全3.0
- 20. 彈簧數據安全與彈簧安全 - 找到所有當前用戶
- 21. 「層」和「層」之間有什麼區別?
- 22. Tableau和QlikView之間有什麼區別
- 23. Microsoft.CompilerServices.AsyncTargetingPack和Microsoft.Bcl.Async之間有什麼區別?
- 24. @Entity和@embeddable之間有什麼區別
- 25. ContentObservable和DataSetObservable之間有什麼區別?
- 26. touchmove和gesturechange之間有什麼區別?
- 27. :notification.flags和notification.defaults之間有什麼區別?
- 28. proc和lambda之間有什麼區別?
- 29. :: after和after之間有什麼區別?
- 30. read()和io.read()之間有什麼區別?
能同樣爲'accountExpired'說? – 2014-07-17 15:42:02