Convenience implementation that returns
<tt>getAuthenticationTokenClass().isAssignableFrom( token.getClass() );</tt>. Can be overridden
by subclasses for more complex token checking.
<p>Most configurations will only need to set a different class via
{@link #setAuthenticationTokenClass}, as opposed to overriding this method.
@param token the token being submitted for authentication.
@return true if this authentication realm can process the submitted token instance of the class, false otherwise.
Convenience implementation that returns <tt>getAuthenticationTokenClass().isAssignableFrom( token.getClass() );</tt>. Can be overridden by subclasses for more complex token checking. <p>Most configurations will only need to set a different class via {@link #setAuthenticationTokenClass}, as opposed to overriding this method.
@param token the token being submitted for authentication. @return true if this authentication realm can process the submitted token instance of the class, false otherwise.