Returns {@code true} if the {@code tokenCredentials} argument is logically equal to the
{@code accountCredentials} argument.
<p/>
<p>If both arguments are either a byte array (byte[]), char array (char[]) or string, they will be both be
converted to raw byte arrays via the {@link #toBytes toBytes} method first, and then resulting byte arrays
are compared via {@link Arrays#equals(byte[], byte[]) ArrayHelper.equals(byte[],byte[])}.</p>
<p/>
<p>If either argument cannot be converted to a byte array as described, a simple Object <code>equals</code>
comparison is made.</p>
<p/>
<p>Subclasses should override this method for more explicit equality checks.
@param tokenCredentials the {@code AuthenticationToken}'s associated credentials.
@param accountCredentials the {@code AuthenticationInfo}'s stored credentials.
@return {@code true} if the {@code tokenCredentials} are equal to the {@code accountCredentials}.
Returns {@code true} if the {@code tokenCredentials} argument is logically equal to the {@code accountCredentials} argument. <p/> <p>If both arguments are either a byte array (byte[]), char array (char[]) or string, they will be both be converted to raw byte arrays via the {@link #toBytes toBytes} method first, and then resulting byte arrays are compared via {@link Arrays#equals(byte[], byte[]) ArrayHelper.equals(byte[],byte[])}.</p> <p/> <p>If either argument cannot be converted to a byte array as described, a simple Object <code>equals</code> comparison is made.</p> <p/> <p>Subclasses should override this method for more explicit equality checks.
@param tokenCredentials the {@code AuthenticationToken}'s associated credentials. @param accountCredentials the {@code AuthenticationInfo}'s stored credentials. @return {@code true} if the {@code tokenCredentials} are equal to the {@code accountCredentials}.