public class RetryLimitCredentialsMatcher
extends org.apache.shiro.authc.credential.HashedCredentialsMatcher
Constructor and Description |
---|
RetryLimitCredentialsMatcher() |
RetryLimitCredentialsMatcher(org.apache.shiro.cache.CacheManager cacheManager) |
RetryLimitCredentialsMatcher(org.apache.shiro.cache.CacheManager cacheManager,
int maxRetryCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
doCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token,
org.apache.shiro.authc.AuthenticationInfo info) |
void |
setMaxRetryCount(int maxRetryCount) |
getCredentials, getHashAlgorithmName, getHashIterations, getSalt, hashProvidedCredentials, hashProvidedCredentials, isHashSalted, isStoredCredentialsHexEncoded, newHashInstance, setHashAlgorithmName, setHashIterations, setHashSalted, setStoredCredentialsHexEncoded
equals, getCredentials
public RetryLimitCredentialsMatcher()
public RetryLimitCredentialsMatcher(org.apache.shiro.cache.CacheManager cacheManager, int maxRetryCount)
cacheManager
- maxRetryCount
- 最大尝试次数public RetryLimitCredentialsMatcher(org.apache.shiro.cache.CacheManager cacheManager)
public void setMaxRetryCount(int maxRetryCount)
public boolean doCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info)
doCredentialsMatch
in interface org.apache.shiro.authc.credential.CredentialsMatcher
doCredentialsMatch
in class org.apache.shiro.authc.credential.HashedCredentialsMatcher
Copyright © 2019. All rights reserved.