From d2fc9203eb0f4aa4335f2cb98add65b0ef6bb0ce Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 11 Jun 2018 17:01:08 -0700 Subject: [PATCH] Update README.md Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e290d84b7..1524dcb9d 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,9 @@ securityManager.sessionManager = $sessionManager # Create cacheManager cacheManager = org.crazycake.shiro.RedisCacheManager -# 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. +# 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. # Default value is authCacheKey or id, that means your principal object has a method called "getAuthCacheKey()" or "getId()" # # cacheManager.principalIdFieldName = id