Redis based implementations of Apache Shiro's Cache and Session, using redisson as rich redis client.
compatible with:
- shiro 1.3.x
- redisson 2.x / 3.x
- redis 4.x
Maven dependency:
<dependency>
<groupId>com.github.streamone</groupId>
<artifactId>shiro-redisson</artifactId>
<version>1.0.0.RELEASE</version>
</dependency>
-
Shiro Cache implementation
- support cache config according to Spring Cache specification
-
Shiro Session implementation
- serialize attributes of session individually as minimum unit
- package redis commands in lua script for high performance (reduce round-trip time) and supporting transaction
-
Others
- support several serialization solutions: JDK Serialization, JSON, Smile, MsgPack, FST and so on
- support common redis servers mode, including single server, master-salve replication, sentinel, cluster