Resources, guides and tutorials for new Shiro users.Read More >>
Try Apache Shiro for yourself in under 10 minutes.Read More >>
Step-by-step tutorial for securing a web application with Shiro.Read More >>
Learn how Authentication in Java is performed in Shiro.Read More >>
Learn how Shiro handles access control in Java.Read More >>
Apache Shiro 1.7.0 is the current stable release (Java 1.8+ JVM).
To download Shiro please follow the instructions below.
You may verify the authenticity of all artifacts below by using the PGP KEYS file.
Associated documentation can be found here
To download the files directly as one .jar file 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-all | Not Recommended | Includes all binary functionality for Shiro (without dependencies), useful in certain build environments (e.g. Ant). However, this is NOT recommended in Maven builds as it does not retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, it is highly recommended to specify individual modules listed below as you require them. |
shiro-core |
|
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 |
|
Enables support for web-based applications. |
shiro-servlet-plugin |
|
Servlet Fragment which configures Shiro's servlet filter. |
shiro-jaxrs |
|
Enables support for JAX-RS applications. |
shiro-aspectj |
|
Enables AspectJ support for Shiro AOP and Annotations. |
shiro-cas |
|
Enables Jasig CAS support.
NOTE:
Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based buji-pac4j project. |
shiro-ehcache |
|
Enables Ehcache-based famework caching. |
shiro-hazelcast |
|
Enables Hazelcast-based famework caching. |
shiro-features |
|
OSGi / Apache Karaf integration. |
shiro-guice |
|
Enables Google Guice integration. |
shiro-quartz |
|
Enables Quartz-based scheduling for Shiro native session validation. |
shiro-spring |
|
Enables Spring Framework integration. |
shiro-spring-boot-starter |
|
Spring Boot starter. |
shiro-spring-boot-web-starter |
|
Spring Boot web starter. |
shiro-tools-hasher | 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:
|
The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:
The source can be cloned anonymously from Git with this command:
git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.7.0 -b shiro-root-1.7.0
Associated documentation can be found here
To download the files directly as one .jar file 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-all | Not Recommended | Includes all binary functionality for Shiro (without dependencies), useful in certain build environments (e.g. Ant). However, this is NOT recommended in Maven builds as it does not retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, it is highly recommended to specify individual modules listed below as you require them. |
shiro-core |
|
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 |
|
Enables support for web-based applications. |
shiro-servlet-plugin |
|
Servlet Fragment which configures Shiro's servlet filter. |
shiro-jaxrs |
|
Enables support for JAX-RS applications. |
shiro-aspectj |
|
Enables AspectJ support for Shiro AOP and Annotations. |
shiro-cas |
|
Enables Jasig CAS support.
NOTE:
Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based buji-pac4j project. |
shiro-ehcache |
|
Enables Ehcache-based famework caching. |
shiro-hazelcast |
|
Enables Hazelcast-based famework caching. |
shiro-features |
|
OSGi / Apache Karaf integration. |
shiro-guice |
|
Enables Google Guice integration. |
shiro-quartz |
|
Enables Quartz-based scheduling for Shiro native session validation. |
shiro-spring |
|
Enables Spring Framework integration. |
shiro-spring-boot-starter |
|
Spring Boot starter. |
shiro-spring-boot-web-starter |
|
Spring Boot web starter. |
shiro-tools-hasher | 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:
|
The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:
The source can be cloned anonymously from Git with this command:
git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.6.0 -b shiro-root-1.6.0
Associated documentation can be found here
To download the files directly as one .jar file 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-all | Not Recommended | Includes all binary functionality for Shiro (without dependencies), useful in certain build environments (e.g. Ant). However, this is NOT recommended in Maven builds as it does not retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, it is highly recommended to specify individual modules listed below as you require them. |
shiro-core |
|
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 |
|
Enables support for web-based applications. |
shiro-servlet-plugin |
|
Servlet Fragment which configures Shiro's servlet filter. |
shiro-jaxrs |
|
Enables support for JAX-RS applications. |
shiro-aspectj |
|
Enables AspectJ support for Shiro AOP and Annotations. |
shiro-cas |
|
Enables Jasig CAS support.
NOTE:
Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based buji-pac4j project. |
shiro-ehcache |
|
Enables Ehcache-based famework caching. |
shiro-hazelcast |
|
Enables Hazelcast-based famework caching. |
shiro-features |
|
OSGi / Apache Karaf integration. |
shiro-guice |
|
Enables Google Guice integration. |
shiro-quartz |
|
Enables Quartz-based scheduling for Shiro native session validation. |
shiro-spring |
|
Enables Spring Framework integration. |
shiro-spring-boot-starter |
|
Spring Boot starter. |
shiro-spring-boot-web-starter |
|
Spring Boot web starter. |
shiro-tools-hasher | 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:
|
The source bundle requires JDK 1.8 and Maven 3.0.3+ to build:
The source can be cloned anonymously from Git with this command:
git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.5.3 -b shiro-root-1.5.3
Associated documentation can be found here
To download the files directly as one .jar file 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-all | Not Recommended | Includes all binary functionality for Shiro (without dependencies), useful in certain build environments (e.g. Ant). However, this is NOT recommended in Maven builds as it does not retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, it is highly recommended to specify individual modules listed below as you require them. |
shiro-core |
|
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 |
|
Enables support for web-based applications. |
shiro-servlet-plugin |
|
Servlet Fragment which configures Shiro's servlet filter. |
shiro-jaxrs |
|
Enables support for JAX-RS applications. |
shiro-aspectj |
|
Enables AspectJ support for Shiro AOP and Annotations. |
shiro-cas |
|
Enables Jasig CAS support.
NOTE:
Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based buji-pac4j project. |
shiro-ehcache |
|
Enables Ehcache-based famework caching. |
shiro-hazelcast |
|
Enables Hazelcast-based famework caching. |
shiro-features |
|
OSGi / Apache Karaf integration. |
shiro-guice |
|
Enables Google Guice integration. |
shiro-quartz |
|
Enables Quartz-based scheduling for Shiro native session validation. |
shiro-spring |
|
Enables Spring Framework integration. |
shiro-spring-boot-starter |
|
Spring Boot starter. |
shiro-spring-boot-web-starter |
|
Spring Boot web starter. |
shiro-tools-hasher | 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:
|
The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:
The source can be cloned anonymously from Git with this command:
git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.4.2 -b shiro-root-1.4.2
Associated documentation can be found here
To download the files directly as one .jar file 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-all | Not Recommended | Includes all binary functionality for Shiro (without dependencies), useful in certain build environments (e.g. Ant). However, this is NOT recommended in Maven builds as it does not retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, it is highly recommended to specify individual modules listed below as you require them. |
shiro-core |
|
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 |
|
Enables support for web-based applications. |
shiro-aspectj |
|
Enables AspectJ support for Shiro AOP and Annotations. |
shiro-cas |
|
Enables Jasig CAS support.
NOTE:
Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based buji-pac4j project. |
shiro-ehcache |
|
Enables Ehcache-based famework caching. |
shiro-hazelcast |
|
Enables Hazelcast-based famework caching. |
shiro-features |
|
OSGi / Apache Karaf integration. |
shiro-guice |
|
Enables Google Guice integration. |
shiro-quartz |
|
Enables Quartz-based scheduling for Shiro native session validation. |
shiro-spring |
|
Enables Spring Framework integration. |
shiro-tools-hasher | 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:
|
The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:
The source can be cloned anonymously from Git with this command:
git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.3.2 -b shiro-root-1.3.2
Associated documentation can be found here
To download the files directly as one .jar file 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-all | Not Recommended | Includes all binary functionality for Shiro (without dependencies), useful in certain build environments (e.g. Ant). However, this is NOT recommended in Maven builds as it does not retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, it is highly recommended to specify individual modules listed below as you require them. |
shiro-core |
|
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 |
|
Enables support for web-based applications. |
shiro-aspectj |
|
Enables AspectJ support for Shiro AOP and Annotations. |
shiro-cas |
|
Enables Jasig CAS support.
NOTE:
Shiro-CAS support is deprecated, support has been moved to the Apache Shiro based buji-pac4j project. |
shiro-ehcache |
|
Enables Ehcache-based famework caching. |
shiro-features |
|
OSGi / Apache Karaf integration. |
shiro-guice |
|
Enables Google Guice integration. |
shiro-quartz |
|
Enables Quartz-based scheduling for Shiro native session validation. |
shiro-spring |
|
Enables Spring Framework integration. |
shiro-tools-hasher | 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:
|
The source bundle requires JDK 1.6 and Maven 3.0.3+ to build:
The source can be cloned anonymously from Git with this command:
git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.2.6 -b shiro-root-1.2.6
Associated documentation can be found here
To download the files directly as one .jar file 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-all | Not Recommended | Includes all binary functionality for Shiro (without dependencies), useful in certain build environments (e.g. Ant). However, this is NOT recommended in Maven builds as it does not retain correct dependency metadata, which can lead to Maven working incorrectly. For Maven builds, it is highly recommended to specify individual modules listed below as you require them. |
shiro-core |
|
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 |
|
Enables support for web-based applications. |
shiro-aspectj |
|
Enables AspectJ support for Shiro AOP and Annotations. |
shiro-ehcache |
|
Enables Ehcache-based famework caching. |
shiro-quartz |
|
Enables Quartz-based scheduling for Shiro native session validation. |
shiro-spring |
|
Enables Spring Framework integration. |
The 1.1.0 source bundle requires JDK 1.5+ and Maven 2.2+ to build:
The source can be cloned anonymously from Git with this command:
git clone https://github.com/apache/shiro.git
git checkout shiro-root-1.1.0 -b shiro-root-1.1.0