Sets the authenticationToken class supported by this realm.
<p/>
<p>Unless overridden by this method, the default value is
{@link hunt.shiro.authc.UsernamePasswordToken UsernamePasswordToken.class} to support the majority of applications.
@param authenticationTokenClass the class of authentication token instances supported by this realm.
@see #getAuthenticationTokenClass getAuthenticationTokenClass() for more explanation.
Sets the authenticationToken class supported by this realm. <p/> <p>Unless overridden by this method, the default value is {@link hunt.shiro.authc.UsernamePasswordToken UsernamePasswordToken.class} to support the majority of applications.
@param authenticationTokenClass the class of authentication token instances supported by this realm. @see #getAuthenticationTokenClass getAuthenticationTokenClass() for more explanation.