public class DefaultJdbcRealm
extends org.apache.shiro.realm.jdbc.JdbcRealm
| 构造器和说明 |
|---|
DefaultJdbcRealm() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
权限/角色信息统一由DefaultCasRealm处理
|
String |
getAuthFailMsg() |
org.springframework.jdbc.core.JdbcTemplate |
getJdbcTemplate() |
org.springframework.jdbc.core.RowMapper<?> |
getRowMapper() |
void |
setAuthFailMsg(String authFailMsg) |
void |
setDataSource(DataSource dataSource) |
void |
setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) |
void |
setRowMapper(org.springframework.jdbc.core.RowMapper<?> rowMapper) |
getPermissions, getRoleNamesForUser, getSaltForUser, setAuthenticationQuery, setPermissionsLookupEnabled, setPermissionsQuery, setSaltStyle, setUserRolesQueryafterCacheManagerSet, 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, setCachingEnabledprotected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token)
throws org.apache.shiro.authc.AuthenticationException
doGetAuthenticationInfo 在类中 org.apache.shiro.realm.jdbc.JdbcRealmorg.apache.shiro.authc.AuthenticationExceptionprotected org.apache.shiro.authz.AuthorizationInfo doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
doGetAuthorizationInfo 在类中 org.apache.shiro.realm.jdbc.JdbcRealmpublic void setDataSource(DataSource dataSource)
setDataSource 在类中 org.apache.shiro.realm.jdbc.JdbcRealmpublic org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate()
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
public String getAuthFailMsg()
public void setAuthFailMsg(String authFailMsg)
public org.springframework.jdbc.core.RowMapper<?> getRowMapper()
public void setRowMapper(org.springframework.jdbc.core.RowMapper<?> rowMapper)
Copyright © 2016. All rights reserved.