Apache Shiro参考手册中文版
shiro.mgt.SecurityManager; import org.apache.shiro.session.Session; import org.apache.shiro.subject.Subject; import org.apache.shiro.util.Factory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; 最自然的方式是基于当前用户。 Shiro 的 API 使用它的 Subject 概念从根本上代表了“当前用户”的概念。 几乎在所有的环境中,你可以通过下面的调用获取当前正在执行的用户: 使用 SecurityUtils.getSubject(),我们可以获得当前正在执行的 Subject。Subject 是一个安全术语,它基本上的意思是 “当前正在执行的用户的特定的 界,术语"Subject"可以表示为人类,而且可是第三方进程,cron job,daemon account,或其他类似的东西。它仅仅 意味着“该事物目前正与软件交互”。对于大多数的意图和目的,你可以把 Subject 看成是 Shiro 的"User"概念。 getSubject()在一个独立的应用程序中调用,可以返回一个在应用程序特定位置的基于用户数据的 Subject,并且在服 务器环境中(例如,Web0 码力 | 92 页 | 1.16 MB | 1 年前3Apache Shiro 1.2.x Reference Manual 中文翻译
11. Caching 缓存 12. Concurrency & Multithreading 并发与多线程 13. Testing 测试 14. Custom Subjects 自定义 Subject V. Integration 整合 15. Spring Framework 16. Guice 17. CAS VI. Tools 工具 Apache Shiro 1.2.x Reference shiro.mgt.SecurityManager; import org.apache.shiro.session.Session; import org.apache.shiro.subject.Subject; import org.apache.shiro.util.Factory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; 提供了'the current user'概念,即 Subject。 在几乎所有的环境中,你可以通过如下语句得到当前用户的信息: Subject currentUser = SecurityUtils.getSubject(); 使用 SecurityUtils.getSubject(),我们可以获取当前执行的Subject,Subject是一个安全术语 意思是“当前运行用户的指定安全视图(a0 码力 | 196 页 | 2.34 MB | 1 年前3跟我学Shiro - 张开涛
.......................................................................................... 58 SUBJECT ................................................................................................ 可以看到:应用代码直接交互的对象是Subject,也就是说Shiro的对外API核心就是Subject; 其每个 API 的含义: Subject:主体,代表了当前“用户”,这个用户不一定是一个具体的人,与当前应用交互 的任何东西都是 Subject,如网络爬虫,机器人等;即一个抽象概念;所有 Subject 都绑定 到 SecurityManager,与 Subject 的所有交互都会委托给 SecurityManager;可以把 SecurityManager;可以把 Subject 认 为是一个门面;SecurityManager 才是实际的执行者; SecurityManager:安全管理器;即所有与安全有关的操作都会与 SecurityManager 交互; 且它管理着所有 Subject;可以看出它是 Shiro 的核心,它负责与后边介绍的其他组件进行 交互,如果学习过 SpringMVC,你可以把它看成 DispatcherServlet0 码力 | 219 页 | 4.16 MB | 10 月前3Zabbix 4.4 中文手册
notice Zabbix documentation is NOT distributed under a GPL license. Use of Zabbix documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own 否 许的 server 证书主题。 从 Zabbix 3.0.0 开始 支持该参数。 TLSServerCertSubject no Allowed server certificate subject. This parameter is supported since Zabbix 3.0.0. TmpDir 否 tmp 时目录。 TmpDir no /tmp Temporary parameter is supported since Zabbix 3.0.0. TLSServerCertSubject no Allowed server (proxy) certificate subject. This parameter is supported since Zabbix 3.0.0. 109 Parameter Mandatory Range Default Description0 码力 | 1850 页 | 13.52 MB | 1 年前3Zabbix 4.2 中文手册
notice Zabbix documentation is NOT distributed under a GPL license. Use of Zabbix documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own 否 许的 server 证书主题。 从 Zabbix 3.0.0 开始 支持该参数。 TLSServerCertSubject no Allowed server certificate subject. This parameter is supported since Zabbix 3.0.0. TmpDir 否 tmp 时目录。 TmpDir no /tmp Temporary parameter is supported since Zabbix 3.0.0. TLSServerCertSubject no Allowed server (proxy) certificate subject. This parameter is supported since Zabbix 3.0.0. 109 Parameter Mandatory Range Default Description0 码力 | 1869 页 | 13.68 MB | 1 年前3Zabbix 5.4 中文手册
notice Zabbix documentation is NOT distributed under a GPL license. Use of Zabbix documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own 否 许的 server 证书主题。 从 Zabbix 3.0.0 开始 支持该参数。 TLSServerCertSubject no Allowed server certificate subject. This parameter is supported since Zabbix 3.0.0. TmpDir 否 tmp 时目录。 TmpDir no /tmp Temporary parameter is supported since Zabbix 3.0.0. TLSServerCertSubject no Allowed server certificate subject. This parameter is supported since Zabbix 3.0.0. TmpDir no /tmp Temporary directory. TrapperTimeout0 码力 | 2339 页 | 19.57 MB | 1 年前3Zabbix 4.0 中文手册
notice Zabbix documentation is NOT distributed under a GPL license. Use of Zabbix documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own 否 许的 server 证书主题。 从 Zabbix 3.0.0 开始 支持该参数。 TLSServerCertSubject no Allowed server certificate subject. This parameter is supported since Zabbix 3.0.0. TmpDir 否 tmp 时目录。 TmpDir no /tmp Temporary parameter is supported since Zabbix 3.0.0. TLSServerCertSubject no Allowed server certificate subject. This parameter is supported since Zabbix 3.0.0. TmpDir no /tmp Temporary directory. TrapperTimeout0 码力 | 1992 页 | 17.90 MB | 1 年前3Mybatis 3.3.0 中文用户指南
post_author_id, P.created_on as post_created_on, P.section as post_section, P.subject as post_subject, P.draft as draft, P.body as post_body, C.id as comment_id, property="posts" ofType="Post">这些是结果映射最基本内容。id 和 result 都映射一个单独列的值到简单数据类型(字符 串,整型,双精度浮点数,日期等)的单独属性或字 段。 这两者之间的唯一不同是 0 码力 | 98 页 | 2.03 MB | 1 年前3httpd 2.2.29 中文文档
received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, a cache), the directive CacheNegotiatedDocs can be used to allow caching of responses which were subject to negotiation. This directive can be given in the server config or virtual host, and takes no arguments0 码力 | 1854 页 | 1.48 MB | 1 年前3httpd 2.2.27 中文文档
received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, a cache), the directive CacheNegotiatedDocs can be used to allow caching of responses which were subject to negotiation. This directive can be given in the server config or virtual host, and takes no arguments0 码力 | 1849 页 | 1.47 MB | 1 年前3
共 246 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25