Example usage for Java org.apache.shiro.authc.credential HashedCredentialsMatcher fields, constructors, methods, implement or subclass
The text is from its open source code.
HashedCredentialsMatcher(String hashAlgorithmName) Creates an instance using the specified #getHashAlgorithmName() hashAlgorithmName to hash submitted credentials. | |
HashedCredentialsMatcher() JavaBeans-compatible no-arg constructor intended for use in IoC/Dependency Injection environments. |
boolean | doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info) This implementation first hashes the token 's credentials, potentially using a salt if the info argument is a org.apache.shiro.authc.SaltedAuthenticationInfo SaltedAuthenticationInfo . |
void | setHashAlgorithmName(String hashAlgorithmName) Sets the Hash org.apache.shiro.crypto.hash.Hash#getAlgorithmName() algorithmName to use when performing hashes for credentials matching. |
void | setHashIterations(int hashIterations) Sets the number of times a submitted AuthenticationToken 's credentials will be hashed before comparing to the credentials stored in the system. |
void | setStoredCredentialsHexEncoded(boolean storedCredentialsHexEncoded) Sets the indicator if this system's stored credential hash is Hex encoded or not. |