com.github.dactiv.showcase.service.account
类 JdbcAuthenticationRealm

java.lang.Object
  继承者 org.apache.shiro.realm.CachingRealm
      继承者 org.apache.shiro.realm.AuthenticatingRealm
          继承者 org.apache.shiro.realm.AuthorizingRealm
              继承者 com.github.dactiv.showcase.service.account.AuthorizationRealm
                  继承者 com.github.dactiv.showcase.service.account.JdbcAuthenticationRealm
所有已实现的接口:
org.apache.shiro.authc.LogoutAware, org.apache.shiro.authz.Authorizer, org.apache.shiro.authz.permission.PermissionResolverAware, org.apache.shiro.authz.permission.RolePermissionResolverAware, org.apache.shiro.cache.CacheManagerAware, org.apache.shiro.realm.Realm, org.apache.shiro.util.Initializable, org.apache.shiro.util.Nameable

public class JdbcAuthenticationRealm
extends AuthorizationRealm

apache shiro 的身份验证类

作者:
maurice

构造方法摘要
JdbcAuthenticationRealm()
           
 
方法摘要
protected  org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
          用户登录的身份验证方法
 
从类 com.github.dactiv.showcase.service.account.AuthorizationRealm 继承的方法
doGetAuthorizationInfo, setDefaultPermission, setDefaultPermissionString
 
从类 org.apache.shiro.realm.AuthorizingRealm 继承的方法
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, setRolePermissionResolver
 
从类 org.apache.shiro.realm.AuthenticatingRealm 继承的方法
assertCredentialsMatch, clearCachedAuthenticationInfo, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, supports
 
从类 org.apache.shiro.realm.CachingRealm 继承的方法
clearCache, getAvailablePrincipal, getCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabled
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 org.apache.shiro.util.Initializable 继承的方法
init
 

构造方法详细信息

JdbcAuthenticationRealm

public JdbcAuthenticationRealm()
方法详细信息

doGetAuthenticationInfo

protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
                                                                     throws org.apache.shiro.authc.AuthenticationException
用户登录的身份验证方法

指定者:
org.apache.shiro.realm.AuthenticatingRealm 中的 doGetAuthenticationInfo
抛出:
org.apache.shiro.authc.AuthenticationException


Copyright © 2014. All rights reserved.