Java org.apache.shiro.authc.credential HashedCredentialsMatcher fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.authc.credential HashedCredentialsMatcher fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.authc.credential HashedCredentialsMatcher.

The text is from its open source code.

Subclass

org.apache.shiro.authc.credential.HashedCredentialsMatcher has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

booleandoCredentialsMatch(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 .
voidsetHashAlgorithmName(String hashAlgorithmName)
Sets the Hash org.apache.shiro.crypto.hash.Hash#getAlgorithmName() algorithmName to use when performing hashes for credentials matching.
voidsetHashIterations(int hashIterations)
Sets the number of times a submitted AuthenticationToken 's credentials will be hashed before comparing to the credentials stored in the system.
voidsetStoredCredentialsHexEncoded(boolean storedCredentialsHexEncoded)
Sets the indicator if this system's stored credential hash is Hex encoded or not.