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, org.qi4j.api.service.ServiceActivation
Constructor and Description |
---|
PasswordRealmMixin() |
Modifier and Type | Method and Description |
---|---|
void |
activateService() |
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() |
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
activateService
in interface org.qi4j.api.service.ServiceActivation
Exception
public void passivateService() throws Exception
passivateService
in interface org.qi4j.api.service.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