Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexxiyang authored Sep 7, 2020
1 parent b38fa01 commit 0cb9d1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ 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.2.3</version>
<version>3.3.0</version>
</dependency>
```

Expand All @@ -25,10 +25,10 @@ You use either of the following 2 ways to include `shiro-redis` into your projec
## shiro-core/jedis Version Comparison Charts

| shiro-redis | jedis | jedis |
| shiro-redis | shiro | jedis |
| :----------------:| :-------: | :-------: |
| 3.2.3 | 1.3.2 | 2.9.0 |
| 3.3.0(Unrelease) | 1.6.0 | 3.3.0 |
| 3.3.0 | 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 0cb9d1b

Please sign in to comment.