@IocBean(name="platformRealm")
public class PlatformAuthorizingRealm
extends org.apache.shiro.realm.AuthorizingRealm
| 构造器和说明 |
|---|
PlatformAuthorizingRealm() |
PlatformAuthorizingRealm(org.apache.shiro.cache.CacheManager cacheManager) |
PlatformAuthorizingRealm(org.apache.shiro.cache.CacheManager cacheManager,
org.apache.shiro.authc.credential.CredentialsMatcher matcher) |
PlatformAuthorizingRealm(org.apache.shiro.authc.credential.CredentialsMatcher matcher) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.apache.shiro.authc.AuthenticationInfo |
doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token) |
protected org.apache.shiro.authz.AuthorizationInfo |
doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
授权查询回调函数, 进行鉴权但缓存中无用户的授权信息时调用.
|
protected org.nutz.integration.jedis.RedisService |
getRedisService() |
protected SysRoleService |
getRoleService() |
protected SysUserService |
getUserService() |
afterCacheManagerSet, checkPermission, checkPermission, checkPermission, checkPermissions, checkPermissions, checkPermissions, checkRole, checkRole, checkRoles, checkRoles, checkRoles, clearCachedAuthorizationInfo, doClearCache, getAuthorizationCache, getAuthorizationCacheKey, getAuthorizationCacheName, getAuthorizationInfo, getPermissionResolver, getPermissions, getRolePermissionResolver, hasAllRoles, hasRole, hasRole, hasRoles, hasRoles, isAuthorizationCachingEnabled, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, isPermittedAll, onInit, setAuthorizationCache, setAuthorizationCacheName, setAuthorizationCachingEnabled, setName, setPermissionResolver, setRolePermissionResolverassertCredentialsMatch, clearCachedAuthenticationInfo, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, supportsclearCache, getAvailablePrincipal, getCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabledpublic PlatformAuthorizingRealm()
public PlatformAuthorizingRealm(org.apache.shiro.cache.CacheManager cacheManager,
org.apache.shiro.authc.credential.CredentialsMatcher matcher)
public PlatformAuthorizingRealm(org.apache.shiro.cache.CacheManager cacheManager)
public PlatformAuthorizingRealm(org.apache.shiro.authc.credential.CredentialsMatcher matcher)
protected SysUserService getUserService()
protected SysRoleService getRoleService()
protected org.nutz.integration.jedis.RedisService getRedisService()
protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
throws org.apache.shiro.authc.AuthenticationException
doGetAuthenticationInfo 在类中 org.apache.shiro.realm.AuthenticatingRealmorg.apache.shiro.authc.AuthenticationExceptionprotected org.apache.shiro.authz.AuthorizationInfo doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
doGetAuthorizationInfo 在类中 org.apache.shiro.realm.AuthorizingRealmCopyright © 2020. All rights reserved.