|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.shiro.realm.CachingRealm
org.apache.shiro.realm.AuthenticatingRealm
org.apache.shiro.realm.AuthorizingRealm
de.iai.ilcd.security.IlcdSecurityRealm
public class IlcdSecurityRealm
Field Summary | |
---|---|
static java.lang.String |
REALM_NAME
Name of the realm |
Constructor Summary | |
---|---|
IlcdSecurityRealm()
|
Method Summary | |
---|---|
void |
clearAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
Clear the cache |
protected org.apache.shiro.authc.AuthenticationInfo |
doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken at)
|
protected org.apache.shiro.authz.AuthorizationInfo |
doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection pc)
|
static java.lang.String |
getEncryptedPassword(java.lang.String plainPassword,
java.lang.String hashSalt)
Get the encrypted password for plain text and hash salt |
Methods inherited from class org.apache.shiro.realm.AuthorizingRealm |
---|
afterCacheManagerSet, checkPermission, checkPermission, checkPermission, checkPermissions, checkPermissions, checkPermissions, checkRole, checkRole, checkRoles, checkRoles, checkRoles, clearCachedAuthorizationInfo, getAuthorizationCache, getAuthorizationCacheKey, getAuthorizationCacheName, getAuthorizationInfo, getAvailablePrincipal, getPermissionResolver, getRolePermissionResolver, hasAllRoles, hasRole, hasRole, hasRoles, hasRoles, init, isAuthorizationCachingEnabled, isPermitted, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll, isPermittedAll, onInit, onLogout, setAuthorizationCache, setAuthorizationCacheName, setAuthorizationCachingEnabled, setName, setPermissionResolver, setRolePermissionResolver |
Methods inherited from class org.apache.shiro.realm.AuthenticatingRealm |
---|
getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, setAuthenticationTokenClass, setCredentialsMatcher, supports |
Methods inherited from class org.apache.shiro.realm.CachingRealm |
---|
getCacheManager, getName, isCachingEnabled, setCacheManager, setCachingEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REALM_NAME
Constructor Detail |
---|
public IlcdSecurityRealm()
Method Detail |
---|
protected org.apache.shiro.authz.AuthorizationInfo doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection pc)
doGetAuthorizationInfo
in class org.apache.shiro.realm.AuthorizingRealm
protected org.apache.shiro.authc.AuthenticationInfo doGetAuthenticationInfo(org.apache.shiro.authc.AuthenticationToken at) throws org.apache.shiro.authc.AuthenticationException
doGetAuthenticationInfo
in class org.apache.shiro.realm.AuthenticatingRealm
org.apache.shiro.authc.AuthenticationException
public void clearAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
principals
- principal collection to clear cache forpublic static java.lang.String getEncryptedPassword(java.lang.String plainPassword, java.lang.String hashSalt)
plainPassword
- plain text passwordhashSalt
- salt for the hash
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |