Downloading and installing shiro.
下载并安装shiro。
Shiro Malaysia is a small singer of my classes.
中马史郎系我班嘅小歌星。
Listing 15 shows the configuration snippet in Shiro INI.
清单15中显示了Shiro INI中的配置片段。
Shiro addresses these issues in a clean and intuitive hashing API.
Shiro用一种干净而直观的哈希API解决了上述问题。
This similarity results because you can configure Shiro using the INI file.
这种类似性的出现是因为您可以使用INI文件来配置Shiro。
But with Shiro sessions, you obtain a container-independent clustering solution.
但通过Shiro会话,你可以获得一个容器无关的集群解决方案。
Apache Shiro is a framework that you can use for authentication and authorization.
ApacheShiro是一个框架,可用于身份验证和授权。
It is a real possibility that this feature will be supported in a future Shiro version.
这个功能在Shiro的未来版本中非常有可能得到支持。
The examples in this article introduce Shiro and focus on the basic task of authenticating a user.
本文中的这些例子旨在介绍Shiro并着重展示对用户进行身份验证的基本任务。
And while most security frameworks stop at authentication and authorization, Shiro provides much more.
虽然多数安全框架止于授权和认证,但Shiro提供了更多功能。
The simplest example of configuring Shiro based on INI is shown in the example in Listing 2 below.
下列清单2列出了基于INI的Shiro最简配置。
Note that Shiro also supports Spring XML configuration and other alternatives, but we'll cover INI here.
注意,Shiro还支持SpringXML配置及其他方式,但这里只我们只讨论INI。
Shiro tries to simplify the entire concept of cryptographic ciphers by introducing its CipherService API.
Shiro通过引入它的CipherServiceAPI试图简化加密密码的整个概念。
Apache Shiro offers a usable security framework that a variety of clients can apply to their applications.
ApacheShiro提供了一个可用的安全性框架,各种客户机都可将这个框架应用于它们的应用程序。
You can see how much Shiro simplifies hashing and encoding, saving you a bit of sanity in the process.
你可以看到Shiro对哈希和编码简化了不少,挽救了你处理在这类问题上所消耗的脑细胞。
When configuring Shiro, you must specify at least one Realm to use for authentication and/or authorization.
当配置Shiro时,你必须至少指定一个Realm,用于认证和(或)授权。
The big difference, of course, is that you can use Shiro Sessions in any application, not just web applications.
当然,最大的不同在于,你可以在任何应用中使用Shiro会话,不仅限于Web应用。
It is remarkably simpler and easier to understand what is going on when you use Shiro to simplify all of that work.
当使用Shiro简化所有这些工作时,一切都非常简单明了。
Shiro is a framework in the Apache Incubator that lets you add authentication and authorization to your applications.
Shiro是ApacheIncubator 内的一个框架,可让您向应用程序中添加身份验证和授权。
By using Shiro, you can provide security for your application without writing all of the code from the beginning.
使用Shiro,您就能够为您的应用程序提供安全性而又无需从头编写所有代码。
Test harness support, making it very easy to have full testing of Shiro secured-code in unit and integration tests.
支持测试工具,这样可以很容易的对Shiro的安全代码进行单元测试和集成测试。
Listing 4 below is an example of configuring Shiro (via INI) to use an LDAP directory as one of the application's Realms.
下面的清单4是通过INI配置Shiro使用LDAP目录作为应用Realm的示例。
Shiro and its predecessor JSecurity has been in use for years in projects for companies of all sizes and across industries.
Shiro及其前身jsecurity已被各种规模和不同行业的公司项目采用多年。
Malaysia Shiro is a Japanese boy in my class, although he and the students usually few words, but and I were so close.
中马史郎系我班嘅一名日本男孩,平时佢虽然和同学话好少,但却和我好亲近。
Instead, Shiro fully implements the session part of the Servlet specification to support native sessions in web applications.
相反,Shiro完整实现了Servlet规范中的Session部分以在Web应用中支持原生会话。
This example USES Ivy to download the Shiro JAR files and other required libraries using the simple scripts shown in Listing 1.
本例使用Ivy下载ShiroJAR文件以及其他所需要的库,脚本很简单,如清单1所示。
Shiro also provides a JSP tag library that allows you to control the output of your JSP pages based on the current Subject's state.
Shiro还提供了JS P标签库,允许你根据当前Subject的状态控制JSP页面的输出。
It explains Apache Shiro's project goals, architectural philosophies and how you might use Shiro to secure your own applications.
本文还解释了ApacheShiro的项目目标、架构理念以及如何使用Shiro为应用安全保驾护航。
It explains Apache Shiro's project goals, architectural philosophies and how you might use Shiro to secure your own applications.
本文还解释了ApacheShiro的项目目标、架构理念以及如何使用Shiro为应用安全保驾护航。
应用推荐