public class PasswordRealmMixin extends org.apache.shiro.realm.AuthorizingRealm implements org.apache.shiro.realm.Realm, org.apache.shiro.authz.Authorizer, org.apache.shiro.authc.credential.PasswordService, ServiceActivation
ServiceActivation.ServiceActivator
Constructor and Description |
---|
PasswordRealmMixin() |
Modifier and Type | Method and Description |
---|---|
void |
activateService()
Called after ServiceComposite Activation.
|
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) |
String |
encryptPassword(Object plaintextPassword) |
void |
passivateService()
Called before ServiceComposite Passivation.
|
boolean |
passwordsMatch(Object submittedPlaintext,
String encrypted) |
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
assertCredentialsMatch, clearCachedAuthenticationInfo, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, supports
clearCache, getAvailablePrincipal, getCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthenticationInfo, getName, supports
public void activateService() throws Exception
ServiceActivation
activateService
in interface ServiceActivation
Exception
public void passivateService() throws Exception
ServiceActivation
passivateService
in interface ServiceActivation
Exception
public String encryptPassword(Object plaintextPassword) throws IllegalArgumentException
encryptPassword
in interface org.apache.shiro.authc.credential.PasswordService
IllegalArgumentException
public boolean passwordsMatch(Object submittedPlaintext, String encrypted)
passwordsMatch
in interface org.apache.shiro.authc.credential.PasswordService
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.AuthenticatingRealm
org.apache.shiro.authc.AuthenticationException
protected org.apache.shiro.authz.AuthorizationInfo doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
doGetAuthorizationInfo
in class org.apache.shiro.realm.AuthorizingRealm