Apache Shiro 3.0.2 is the current stable release (Java 17+).
To download Shiro please follow the instructions below.
You may verify the authenticity of all artifacts below by using the PGP KEYS file.
The current release is 3.0.2. For older releases, please visit our release archive.
Releases are built, signed and published by a committer acting as release manager, following the ASF release policy and the project’s Performing a Release guide.
A release candidate is staged, voted on by the PMC on the dev mailing list, and only then published as the official source release, with binary artifacts on Maven Central.
Each release is signed with the release manager’s PGP key and accompanied by a SHA-512 checksum.
To verify a download, import the KEYS file, check the .asc signature and compare the checksum, as described in the ASF verification guide.
Release notes are published with each release on GitHub Releases and on the project blog.
Which release lines are supported is described on the support page.
The source bundle requires JDK 25+ and Maven 3.9+ to build:
shiro-root-3.0.2-source-release.zip
(pgp, sha512)
Associated documentation can be found here
The source can be cloned anonymously from Git with this command:
git clone https://github.com/apache/shiro.git
git checkout shiro-root-3.0.2
If you don't want to build yourself, you can download pre-built binaries from Maven Central, just click the link in the "Artifact" column. If you would like acquire Shiro through Maven, then please use the markup listed under "Maven Usage"
| Artifact | Maven Usage | Notes |
|---|---|---|
|
shiro-core (pgp) |
|
Required in all environments.
Slf4j's slf4j-api jar
and one of its binding jars is required.
commons-beanutils is required only if using INI config.
|
|
shiro-web (pgp) |
|
Enables support for web-based applications. |
|
shiro-servlet-plugin (pgp) |
|
Servlet Fragment which configures Shiro's servlet filter. |
|
shiro-cdi (pgp) |
|
Enables support for CDI integration. |
|
shiro-jakarta-ee (pgp) |
|
Jakarta EE Web Profile integration. |
|
shiro-jaxrs (pgp) |
|
Enables support for JAX-RS applications. |
|
shiro-aspectj (pgp) |
|
Enables AspectJ support for Shiro AOP and Annotations. |
|
shiro-cas (pgp) |
|
Enables Jasig CAS support. Warning: Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based buji-pac4j project. |
|
shiro-cache (pgp) |
|
Enables Java Cache-based framework caching. |
|
shiro-features (pgp) |
|
OSGi / Apache Karaf integration. |
|
shiro-guice (pgp) |
|
Enables Google Guice integration. |
|
shiro-quartz (pgp) |
|
Enables Quartz-based scheduling for Shiro native session validation. |
|
shiro-spring (pgp) |
|
Enables Spring Framework integration. |
|
shiro-spring-boot-starter (pgp) |
|
Spring Boot starter. |
|
shiro-spring-boot-web-starter (pgp) |
|
Spring Boot web starter. |
|
shiro-tools-hasher (pgp) |
Not Relevant | A command-line program to perform hashing (MD5, SHA, etc) for files, streams and passwords.
Note that this is a command line program and not intended to be used as a Maven/program dependency.
It is intended to be downloaded and executed:
|