org.crazycake.shiro
接口 AuthCachePrincipal
已过时。
@Deprecated
public interface AuthCachePrincipal
getAuthCacheKey
@Deprecated
String getAuthCacheKey()
- 已过时。
- AuthCacheKey used to store authorization cache. The authorization cache key in Redis format is {cacheManagePrefix} + {realmName} + ":" + {authCacheKey}.
For example:
cacheManagePrefix = shiro:mycache:
realmName = exampleRealm.authorizationCache
authCacheKey = 123
authorization redis key = shiro:mycache:exampleRealm.authorizationCache:123
In most cases, authCacheKey should be userId or userName
- 返回:
Copyright © 2018. All rights reserved.