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, 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, setCachingEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthenticationInfo, getName, supportspublic void activateService()
throws Exception
ServiceActivationactivateService in interface ServiceActivationException - if unable to activatepublic void passivateService()
throws Exception
ServiceActivationpassivateService in interface ServiceActivationException - if unable to passivatepublic String encryptPassword(Object plaintextPassword) throws IllegalArgumentException
encryptPassword in interface org.apache.shiro.authc.credential.PasswordServiceIllegalArgumentExceptionpublic boolean passwordsMatch(Object submittedPlaintext, String encrypted)
passwordsMatch in interface org.apache.shiro.authc.credential.PasswordServiceprotected 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.AuthenticationExceptionprotected org.apache.shiro.authz.AuthorizationInfo doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection principals)
doGetAuthorizationInfo in class org.apache.shiro.realm.AuthorizingRealm