public class ExtendedPropertiesRealm
extends org.apache.shiro.realm.text.PropertiesRealm
PropertiesRealm| Constructor and Description |
|---|
ExtendedPropertiesRealm(String resourcePath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterCacheManagerSet()
Remove initialization after installing cacheManager.
|
protected org.apache.shiro.authc.AuthenticationInfo |
doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
Eliminates the error generating NullPointerException,
when trying to register for non-existent account.
|
void |
setCacheManager(org.apache.shiro.cache.CacheManager authzInfoCacheManager) |
afterRoleCacheSet, destroy, getName, getRolename, getUsername, isRolename, isUsername, onInit, run, setReloadIntervalSeconds, setResourcePath, setUseXmlFormat, startReloadThreadgetRoleDefinitions, getUserDefinitions, processDefinitions, processRoleDefinitions, processRoleDefinitions, processUserDefinitions, processUserDefinitions, setRoleDefinitions, setUserDefinitions, toLines, toMapaccountExists, add, add, addAccount, addAccount, addRole, doGetAuthorizationInfo, getRole, getUser, getUsername, getUsername, roleExists, toSetcheckPermission, 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, 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, setCachingEnabledpublic ExtendedPropertiesRealm(String resourcePath)
protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
throws org.apache.shiro.authc.AuthenticationException
doGetAuthenticationInfo in class org.apache.shiro.realm.SimpleAccountRealmorg.apache.shiro.authc.AuthenticationExceptionSimpleAccountRealm.doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken)public void setCacheManager(org.apache.shiro.cache.CacheManager authzInfoCacheManager)
setCacheManager in interface org.apache.shiro.cache.CacheManagerAwaresetCacheManager in class org.apache.shiro.realm.CachingRealmprotected void afterCacheManagerSet()
afterCacheManagerSet in class org.apache.shiro.realm.AuthorizingRealmAuthorizingRealm.afterCacheManagerSet()Copyright © 2004–2018. All rights reserved.