助力高校计算机教育 —— 码云为老师推出免费高校版,高达 200 人的协作团队
Watch Star Fork

streamone / shiro-redissonJavaMIT

加入码云
与超过 200 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
基于 Redis 的 Shiro Cache 和 Session 实现 https://github.com/streamone/shiro-redisson
streamone 最后提交于 1.update readme
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README.md 1.43 KB

shiro-redisson

Travis Coverage Status license

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

Documentation

Download

Maven dependency:

<dependency>
    <groupId>com.github.streamone</groupId>
    <artifactId>shiro-redisson</artifactId>
    <version>1.0.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

项目点评 ( 6 )

你可以在登录后,发表评论

10_float_left_people 10_float_left_close