Skip to content

Commit d2fc920

Browse files
Update README.md
Update README.md
1 parent 4f5f8b7 commit d2fc920

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ securityManager.sessionManager = $sessionManager
166166
# Create cacheManager
167167
cacheManager = org.crazycake.shiro.RedisCacheManager
168168

169-
# Principal id field name. The field which you can get unique id to identify this principal. For example, if you use UserInfo as Principal class, the id field maybe userId, userName, email, etc. Remember to add getter to this id field. For example, getUserId(), getUserName(), getEmail(), etc.
169+
# Principal id field name. The field which you can get unique id to identify this principal.
170+
# For example, if you use UserInfo as Principal class, the id field maybe userId, userName, email, etc.
171+
# Remember to add getter to this id field. For example, getUserId(), getUserName(), getEmail(), etc.
170172
# Default value is authCacheKey or id, that means your principal object has a method called "getAuthCacheKey()" or "getId()"
171173
#
172174
# cacheManager.principalIdFieldName = id

0 commit comments

Comments
 (0)