public class TopiaSecurityRealm
extends org.apache.shiro.realm.AuthorizingRealm
implements org.apache.shiro.authc.credential.CredentialsMatcher
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.apache.shiro.authz.SimpleAuthorizationInfo> |
authorizationCache
Authorization cache (invalidated at login).
|
protected org.nuiton.config.ApplicationConfig |
config |
protected SecurityTopiaApplicationContext |
rootContext |
| Constructor and Description |
|---|
TopiaSecurityRealm(SecurityTopiaApplicationContext rootContext,
org.nuiton.config.ApplicationConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.authc.AuthenticationInfo info) |
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) |
afterCacheManagerSet, checkPermission, checkPermission, checkPermission, checkPermissions, checkPermissions, checkPermissions, checkRole, checkRole, checkRoles, checkRoles, checkRoles, clearCachedAuthorizationInfo, doClearCache, getAuthorizationCache, getAuthorizationCacheKey, getAuthorizationCacheName, getAuthorizationInfo, getPermissionResolver, getRolePermissionResolver, hasAllRoles, hasRole, hasRole, hasRoles, hasRoles, isAuthorizationCachingEnabled, 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, setCachingEnabledprotected SecurityTopiaApplicationContext rootContext
protected org.nuiton.config.ApplicationConfig config
public TopiaSecurityRealm(SecurityTopiaApplicationContext rootContext, org.nuiton.config.ApplicationConfig config)
public boolean doCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.authc.AuthenticationInfo info)
doCredentialsMatch in interface org.apache.shiro.authc.credential.CredentialsMatcherprotected org.apache.shiro.authz.AuthorizationInfo doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
doGetAuthorizationInfo in class org.apache.shiro.realm.AuthorizingRealmprotected 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.AuthenticatingRealmorg.apache.shiro.authc.AuthenticationExceptionCopyright © 2010–2013 CodeLutin. All rights reserved.