public class DatabaseRealm extends org.apache.shiro.realm.AuthenticatingRealm
| Constructor and Description |
|---|
DatabaseRealm() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.shiro.authc.AuthenticationInfo |
doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken token) |
org.apache.shiro.util.ByteSource |
generateSalt() |
String |
getHashAlgorithm() |
int |
getHashIterations() |
String |
hashPassword(String password,
org.apache.shiro.util.ByteSource salt) |
afterCacheManagerSet, assertCredentialsMatch, clearCachedAuthenticationInfo, doClearCache, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, onInit, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, setName, supportspublic DatabaseRealm()
public int getHashIterations()
public String getHashAlgorithm()
public org.apache.shiro.util.ByteSource generateSalt()
public String hashPassword(String password, org.apache.shiro.util.ByteSource salt)
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.AuthenticatingRealmorg.apache.shiro.authc.AuthenticationExceptionCopyright © 2014 Atteo. All rights reserved.