Shiro源码分析-初始化-Realm
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 在上一篇介绍SecurityManager的初始化过程中,也有realm的粗略介绍。 realm的概念在安全领域随处可见: 各种中间件的realm、spring security的realm、shiro的realm。。。如下: tomcat的realm: http://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html weblogic的realm: http://edocs.weblogicfans.net/wls/docs92/secintro/realm_chap.html spring security的realm http://www.oschina.net/translate/spring-security-basic-authentication?lang=eng tomcat官网对realm的定义是这样的: A Realm is a "database" of usernames and passwords that identify valid users of a web application (or set of web applications), plus an enumeration of the list of roles