Sets the CrendialsMatcher used during an authentication attempt to verify submitted credentials with those
stored in the system. The implementation of this matcher can be switched via configuration to
support any number of schemes, including plain text comparisons, hashing comparisons, and others.
<p/>
<p>Unless overridden by this method, the default value is a
{@link hunt.shiro.authc.credential.SimpleCredentialsMatcher} instance.
Sets the CrendialsMatcher used during an authentication attempt to verify submitted credentials with those stored in the system. The implementation of this matcher can be switched via configuration to support any number of schemes, including plain text comparisons, hashing comparisons, and others. <p/> <p>Unless overridden by this method, the default value is a {@link hunt.shiro.authc.credential.SimpleCredentialsMatcher} instance.
@param credentialsMatcher the matcher to use.