|
|||||||||
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
org.qi4j.library.shiro.domain.passwords.PasswordRealmMixin
public class PasswordRealmMixin
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.qi4j.api.service.ServiceActivation |
---|
ServiceActivation.ServiceActivator |
Constructor Summary | |
---|---|
PasswordRealmMixin()
|
Method Summary | |
---|---|
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)
|
java.lang.String |
encryptPassword(java.lang.Object plaintextPassword)
|
void |
passivateService()
Called before ServiceComposite Passivation. |
boolean |
passwordsMatch(java.lang.Object submittedPlaintext,
java.lang.String encrypted)
|
Methods inherited from class org.apache.shiro.realm.AuthorizingRealm |
---|
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 |
Methods inherited from class org.apache.shiro.realm.AuthenticatingRealm |
---|
assertCredentialsMatch, clearCachedAuthenticationInfo, getAuthenticationCache, getAuthenticationCacheKey, getAuthenticationCacheKey, getAuthenticationCacheName, getAuthenticationInfo, getAuthenticationTokenClass, getCredentialsMatcher, init, isAuthenticationCachingEnabled, isAuthenticationCachingEnabled, setAuthenticationCache, setAuthenticationCacheName, setAuthenticationCachingEnabled, setAuthenticationTokenClass, setCredentialsMatcher, supports |
Methods inherited from class org.apache.shiro.realm.CachingRealm |
---|
clearCache, getAvailablePrincipal, getCacheManager, getName, isCachingEnabled, onLogout, setCacheManager, setCachingEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.shiro.realm.Realm |
---|
getAuthenticationInfo, getName, supports |
Methods inherited from interface org.apache.shiro.authz.Authorizer |
---|
checkPermission, checkPermission, checkPermissions, checkPermissions, checkRole, checkRoles, checkRoles, hasAllRoles, hasRole, hasRoles, isPermitted, isPermitted, isPermitted, isPermitted, isPermittedAll, isPermittedAll |
Methods inherited from interface org.apache.shiro.util.Initializable |
---|
init |
Constructor Detail |
---|
public PasswordRealmMixin()
Method Detail |
---|
public void activateService() throws java.lang.Exception
ServiceActivation
activateService
in interface ServiceActivation
java.lang.Exception
public void passivateService() throws java.lang.Exception
ServiceActivation
passivateService
in interface ServiceActivation
java.lang.Exception
public java.lang.String encryptPassword(java.lang.Object plaintextPassword) throws java.lang.IllegalArgumentException
encryptPassword
in interface org.apache.shiro.authc.credential.PasswordService
java.lang.IllegalArgumentException
public boolean passwordsMatch(java.lang.Object submittedPlaintext, java.lang.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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |