Skip to content

Commit

Permalink
Use jdk 1.8 in 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexy committed Sep 25, 2020
1 parent 0e6bd04 commit 0bdf2b2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@ You use either of the following 2 ways to include `shiro-redis` into your projec
<dependency>
<groupId>org.crazycake</groupId>
<artifactId>shiro-redis</artifactId>
<version>3.3.0</version>
<version>3.3.1</version>
</dependency>
```

> **Note:**\
> Do not use version < 3.1.0\
> **Note:**
> 3.3.0 is compiled by java11
> 3.3.1 is compiled by java8
## shiro-core/jedis Version Comparison Charts

| shiro-redis | shiro | jedis |
| :----------------:| :-------: | :-------: |
| 3.2.3 | 1.3.2 | 2.9.0 |
| 3.3.0 | 1.6.0 | 3.3.0 |
| 3.3.0 (java11) | 1.6.0 | 3.3.0 |
| 3.3.1 (java8) | 1.6.0 | 3.3.0 |

# Before use
Here is the first thing you need to know. Shiro-redis needs an id field to identify your authorization object in Redis. So please make sure your principal class has a field which you can get unique id of this object. Please setting this id field name by `cacheManager.principalIdFieldName = <your id field name of principal object>`
Expand Down

0 comments on commit 0bdf2b2

Please sign in to comment.