Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.56 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.56 KB

shiro-redisson

Java CI with Gradle

Travis Coverage Status license

Redis based implementations of Apache Shiro's Cache and Session, using redisson as rich redis client.

compatible with:

  • JDK 1.8 - 14
  • shiro 1.5.x
  • redisson 3.9.0+
  • redis 3+

Download

Maven dependency:

<dependency>
    <groupId>com.github.streamone</groupId>
    <artifactId>shiro-redisson</artifactId>
    <version>1.5.0.RELEASE</version>
</dependency>

Features

  • 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