下载 Apache Shiro

Apache Shiro 1.5.3 是当前的稳定发行版(Java 1.8 JVM)。

要下载 Shiro,请按照以下说明进行操作。

Code Signatures

您可以使用 PGP KEYS文件在以下所有工件中验证真实性

Releases

最新稳定版本(1.5.3)

1.5.3 二进制分发

相关文档可以找到here

要将文件直接下载为一个.jar 文件,只需单击“工件”列中的链接。如果您想通过 Maven 获取 Shiro,请使用“ Maven 使用情况”下列出的标记

Artifact Maven Usage Notes
shiro-all Not Recommended 包括 Shiro 的所有二进制功能(无依赖项),在某些构建环境(例如 Ant)中很有用。但是,在 Maven 构建中不建议这样做,因为它不会保留正确的依赖元数据,这可能导致 Maven 无法正常工作。对于 Maven 构建,强烈建议您根据需要指定下面列出的各个模块。
shiro-core <dependency>

<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.5.3</version>
</dependency>
在所有环境中都是必需的。 Slf4jslf4j-api jar 和其中一个绑定 jar 是必需的。仅在使用 INI config 时才需要commons-beanutils
shiro-web <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<version>1.5.3</version>
</dependency>
启用对基于 Web 的应用程序的支持。
shiro-servlet-plugin <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-servlet-plugin</artifactId>
<version>1.5.3</version>
</dependency>
Servlet 片段,用于配置 Shiro 的 Servlet 过滤器。
shiro-jaxrs <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-jaxrs</artifactId>
<version>1.5.3</version>
</dependency>
启用对 JAX-RS 应用程序的支持。
shiro-aspectj <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-aspectj</artifactId>
<version>1.5.3</version>
</dependency>
为 Shiro AOP 和 Comments 启用AspectJ支持。
shiro-cas <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-cas</artifactId>
<version>1.5.3</version>
</dependency>
启用 Jasig CAS支持。

NOTE:





Shiro-CAS 支持已弃用,支持已移至基于 Apache Shiro 的buji-pac4j项目。



|
| shiro-ehcache | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-ehcache</artifactId>

> <version>1.5.3</version>

> </dependency> |启用基于Ehcache的框架缓存。
| shiro-hazelcast | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-hazelcast</artifactId>

> <version>1.5.3</version>

> </dependency> |启用基于Hazelcast的框架缓存。
| shiro-features | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-features</artifactId>

> <version>1.5.3</version>

> </dependency> | OSGi/Apache Karaf集成。
| shiro-guice | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-guice</artifactId>

> <version>1.5.3</version>

> </dependency> |启用Google Guice集成。
| shiro-quartz | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-quartz</artifactId>

> <version>1.5.3</version>

> </dependency> |为 Shiro 本机会话验证启用基于Quartz的调度。
| shiro-spring | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-spring</artifactId>

> <version>1.5.3</version>

> </dependency> |启用Spring Framework集成。
| shiro-spring-boot-starter | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-spring-boot-starter</artifactId>

> <version>1.5.3</version>

> </dependency> | Spring Boot入门者。|
| shiro-spring-boot-web-starter | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-spring-boot-web-starter</artifactId>

> <version>1.5.3</version>

> </dependency> | Spring Boot网络入门。
| shiro-tools-hasher | 不相关 |用于对文件,流和密码执行哈希(MD5,SHA 等)的命令行程序。请注意,这是一个命令行程序,不能用作 Maven /程序的依赖项。它旨在下载并执行:java -jar shiro-tools-hasher-1.5.3-cli.jar |

1.5.3 源代码分发

该源包需要 JDK 1.8 和 Maven 3.0.3 来构建:

zip (pgp, sha512)

1.5.3 Git 源存储库

可以使用以下命令从 Git 匿名克隆源:

git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.5.3 -b shiro-root-1.5.3

Previous Releases

1.4.2 二进制分发

相关文档可以找到here

要将文件直接下载为一个.jar 文件,只需单击“工件”列中的链接。如果您想通过 Maven 获取 Shiro,请使用“ Maven 使用情况”下列出的标记

Artifact Maven Usage Notes
shiro-all Not Recommended 包括 Shiro 的所有二进制功能(无依赖项),在某些构建环境(例如 Ant)中很有用。但是,在 Maven 构建中不建议这样做,因为它不会保留正确的依赖元数据,这可能导致 Maven 无法正常工作。对于 Maven 构建,强烈建议您根据需要指定下面列出的各个模块。
shiro-core <dependency>

<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.4.2</version>
</dependency>
在所有环境中都是必需的。 Slf4jslf4j-api jar 和其中一个绑定 jar 是必需的。仅在使用 INI config 时才需要commons-beanutils
shiro-web <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<version>1.4.2</version>
</dependency>
启用对基于 Web 的应用程序的支持。
shiro-servlet-plugin <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-servlet-plugin</artifactId>
<version>1.4.2</version>
</dependency>
Servlet 片段,用于配置 Shiro 的 Servlet 过滤器。
shiro-jaxrs <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-jaxrs</artifactId>
<version>1.4.2</version>
</dependency>
启用对 JAX-RS 应用程序的支持。
shiro-aspectj <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-aspectj</artifactId>
<version>1.4.2</version>
</dependency>
为 Shiro AOP 和 Comments 启用AspectJ支持。
shiro-cas <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-cas</artifactId>
<version>1.4.2</version>
</dependency>
启用 Jasig CAS支持。

NOTE:





Shiro-CAS 支持已弃用,支持已移至基于 Apache Shiro 的buji-pac4j项目。



|
| shiro-ehcache | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-ehcache</artifactId>

> <version>1.4.2</version>

> </dependency> |启用基于Ehcache的框架缓存。
| shiro-hazelcast | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-hazelcast</artifactId>

> <version>1.4.2</version>

> </dependency> |启用基于Hazelcast的框架缓存。
| shiro-features | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-features</artifactId>

> <version>1.4.2</version>

> </dependency> | OSGi/Apache Karaf集成。
| shiro-guice | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-guice</artifactId>

> <version>1.4.2</version>

> </dependency> |启用Google Guice集成。
| shiro-quartz | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-quartz</artifactId>

> <version>1.4.2</version>

> </dependency> |为 Shiro 本机会话验证启用基于Quartz的调度。
| shiro-spring | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-spring</artifactId>

> <version>1.4.2</version>

> </dependency> |启用Spring Framework集成。
| shiro-spring-boot-starter | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-spring-boot-starter</artifactId>

> <version>1.4.2</version>

> </dependency> | Spring Boot入门者。|
| shiro-spring-boot-web-starter | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-spring-boot-web-starter</artifactId>

> <version>1.4.2</version>

> </dependency> | Spring Boot网络入门。
| shiro-tools-hasher | 不相关 |用于对文件,流和密码执行哈希(MD5,SHA 等)的命令行程序。请注意,这是一个命令行程序,不能用作 Maven /程序的依赖项。它旨在下载并执行:java -jar shiro-tools-hasher-1.4.2-cli.jar |

1.4.2 源代码分发

该源包需要 JDK 1.6 和 Maven 3.0.3 才能构建:

zip (pgp, md5, sha512)

1.4.2 Git 源存储库

可以使用以下命令从 Git 匿名克隆源:

git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.4.2 -b shiro-root-1.4.2

1.4.2 二进制分发

相关文档可以找到here

要将文件直接下载为一个.jar 文件,只需单击“工件”列中的链接。如果您想通过 Maven 获取 Shiro,请使用“ Maven 使用情况”下列出的标记

Artifact Maven Usage Notes
shiro-all Not Recommended 包括 Shiro 的所有二进制功能(无依赖项),在某些构建环境(例如 Ant)中很有用。但是,在 Maven 构建中不建议这样做,因为它不会保留正确的依赖元数据,这可能导致 Maven 无法正常工作。对于 Maven 构建,强烈建议您根据需要指定下面列出的各个模块。
shiro-core <dependency>

<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.3.2</version>
</dependency>
在所有环境中都是必需的。 Slf4jslf4j-api jar 和其中一个绑定 jar 是必需的。仅在使用 INI config 时才需要commons-beanutils
shiro-web <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<version>1.3.2</version>
</dependency>
启用对基于 Web 的应用程序的支持。
shiro-aspectj <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-aspectj</artifactId>
<version>1.3.2</version>
</dependency>
为 Shiro AOP 和 Comments 启用AspectJ支持。
shiro-cas <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-cas</artifactId>
<version>1.3.2</version>
</dependency>
启用 Jasig CAS支持。

NOTE:





Shiro-CAS 支持已弃用,支持已移至基于 Apache Shiro 的buji-pac4j项目。



|
| shiro-ehcache | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-ehcache</artifactId>

> <version>1.3.2</version>

> </dependency> |启用基于Ehcache的框架缓存。
| shiro-hazelcast | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-hazelcast</artifactId>

> <version>1.3.2</version>

> </dependency> |启用基于Hazelcast的框架缓存。
| shiro-features | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-features</artifactId>

> <version>1.3.2</version>

> </dependency> | OSGi/Apache Karaf集成。
| shiro-guice | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-guice</artifactId>

> <version>1.3.2</version>

> </dependency> |启用Google Guice集成。
| shiro-quartz | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-quartz</artifactId>

> <version>1.3.2</version>

> </dependency> |为 Shiro 本机会话验证启用基于Quartz的调度。
| shiro-spring | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-spring</artifactId>

> <version>1.3.2</version>

> </dependency> |启用Spring Framework集成。
| shiro-tools-hasher | 不相关 |用于对文件,流和密码执行哈希(MD5,SHA 等)的命令行程序。请注意,这是一个命令行程序,不能用作 Maven /程序的依赖项。它旨在下载并执行:java -jar shiro-tools-hasher-1.3.2-cli.jar |

1.3.2 源代码分发

该源包需要 JDK 1.6 和 Maven 3.0.3 才能构建:

zip (pgp, md5, sha1)

1.3.2 Git 源存储库

可以使用以下命令从 Git 匿名克隆源:

git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.3.2 -b shiro-root-1.3.2

1.2.6 二进制分发

相关文档可以找到here

要将文件直接下载为一个.jar 文件,只需单击“工件”列中的链接。如果您想通过 Maven 获取 Shiro,请使用“ Maven 使用情况”下列出的标记

Artifact Maven Usage Notes
shiro-all Not Recommended 包括 Shiro 的所有二进制功能(无依赖项),在某些构建环境(例如 Ant)中很有用。但是,在 Maven 构建中不建议这样做,因为它不会保留正确的依赖元数据,这可能导致 Maven 无法正常工作。对于 Maven 构建,强烈建议您根据需要指定下面列出的各个模块。
shiro-core <dependency>

<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.2.6</version>
</dependency>
在所有环境中都是必需的。 Slf4jslf4j-api jar 和其中一个绑定 jar 是必需的。仅在使用 INI config 时才需要commons-beanutils
shiro-web <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<version>1.2.6</version>
</dependency>
启用对基于 Web 的应用程序的支持。
shiro-aspectj <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-aspectj</artifactId>
<version>1.2.6</version>
</dependency>
为 Shiro AOP 和 Comments 启用AspectJ支持。
shiro-cas <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-cas</artifactId>
<version>1.2.6</version>
</dependency>
启用 Jasig CAS支持。

NOTE:





Shiro-CAS 支持已弃用,支持已移至基于 Apache Shiro 的buji-pac4j项目。



|
| shiro-ehcache | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-ehcache</artifactId>

> <version>1.2.6</version>

> </dependency> |启用基于Ehcache的框架缓存。
| shiro-features | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-features</artifactId>

> <version>1.2.6</version>

> </dependency> | OSGi/Apache Karaf集成。
| shiro-guice | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-guice</artifactId>

> <version>1.2.6</version>

> </dependency> |启用Google Guice集成。
| shiro-quartz | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-quartz</artifactId>

> <version>1.2.6</version>

> </dependency> |为 Shiro 本机会话验证启用基于Quartz的调度。
| shiro-spring | <dependency>

> <groupId>org.apache.shiro</groupId>

> <artifactId>shiro-spring</artifactId>

> <version>1.2.6</version>

> </dependency> |启用Spring Framework集成。
| shiro-tools-hasher | 不相关 |用于对文件,流和密码执行哈希(MD5,SHA 等)的命令行程序。请注意,这是一个命令行程序,不能用作 Maven /程序的依赖项。它旨在下载并执行:java -jar shiro-tools-hasher-1.2.6-cli.jar |

1.2.6 源代码分发

该源包需要 JDK 1.6 和 Maven 3.0.3 才能构建:

zip (pgp, md5, sha1)

1.2.6 Git 源存储库

可以使用以下命令从 Git 匿名克隆源:

git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.2.6 -b shiro-root-1.2.6

1.1.0

1.1.0 二进制分发

相关文档可以找到here

要将文件直接下载为一个.jar 文件,只需单击“工件”列中的链接。如果您想通过 Maven 获取 Shiro,请使用“ Maven 使用情况”下列出的标记

Artifact Maven Usage Notes
shiro-all Not Recommended 包括 Shiro 的所有二进制功能(无依赖项),在某些构建环境(例如 Ant)中很有用。但是,在 Maven 构建中不建议这样做,因为它不会保留正确的依赖元数据,这可能导致 Maven 无法正常工作。对于 Maven 构建,强烈建议您根据需要指定下面列出的各个模块。
shiro-core <dependency>

<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.1.0</version>
</dependency>
在所有环境中都是必需的。 Slf4jslf4j-api jar 和其中一个绑定 jar 是必需的。仅在使用 INI config 时才需要commons-beanutils
shiro-web <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<version>1.1.0</version>
</dependency>
启用对基于 Web 的应用程序的支持。
shiro-aspectj <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-aspectj</artifactId>
<version>1.1.0</version>
</dependency>
为 Shiro AOP 和 Comments 启用AspectJ支持。
shiro-ehcache <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-ehcache</artifactId>
<version>1.1.0</version>
</dependency>
启用基于Ehcache的框架缓存。
shiro-quartz <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-quartz</artifactId>
<version>1.1.0</version>
</dependency>
为 Shiro 本机会话验证启用基于Quartz的调度。
shiro-spring <dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring</artifactId>
<version>1.1.0</version>
</dependency>
启用Spring Framework集成。

1.1.0 源代码分发

1.1.0 源包需要 JDK 1.5 和 Maven 2.2 才能构建:

zip (pgp, md5, sha1)

1.1.0 Git 源存储库

可以使用以下命令从 Git 匿名克隆源:

git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.1.0 -b shiro-root-1.1.0
首页