public class DefaultCasRealm extends org.apache.shiro.cas.CasRealm implements Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
PRINCIPAL_USER_ID_KEY |
| 构造器和说明 |
|---|
DefaultCasRealm() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.apache.shiro.authc.AuthenticationInfo |
doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
重写认证 Authenticates a user and retrieves its information.
|
createTicketValidator, doGetAuthorizationInfo, ensureTicketValidator, getCasServerUrlPrefix, getCasService, getDefaultPermissions, getDefaultRoles, getPermissionAttributeNames, getRememberMeAttributeName, getRoleAttributeNames, getValidationProtocol, onInit, setCasServerUrlPrefix, setCasService, setDefaultPermissions, setDefaultRoles, setPermissionAttributeNames, setRememberMeAttributeName, setRoleAttributeNames, setValidationProtocolafterCacheManagerSet, 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, 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 org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
throws org.apache.shiro.authc.AuthenticationException
doGetAuthenticationInfo 在类中 org.apache.shiro.cas.CasRealmtoken - the authentication tokenorg.apache.shiro.authc.AuthenticationException - if there is an error during authentication.Copyright © 2016. All rights reserved.