HashedCredentialsMatcher.setHashIterations

Sets the number of times a submitted {@code AuthenticationToken}'s credentials will be hashed before comparing to the credentials stored in the system. <p/> Unless overridden, the default value is {@code 1}, meaning a normal single hash execution will occur. <p/> If this argument is less than 1 (i.e. 0 or negative), the default value of 1 is applied. There must always be at least 1 hash iteration (otherwise there would be no hash).

@param hashIterations the number of times to hash a submitted {@code AuthenticationToken}'s credentials.

class HashedCredentialsMatcher
void
setHashIterations

Meta