@Override
  public int hashCode() {
    return new HashCodeBuilder().append(name).append(code).append(saslMech).append(method)
      .toHashCode();
  }
Returns the Hadoop {@link AuthenticationMethod} for this method.
hbase-client/src/main/java/org/apache/hadoop/hbase/security/provider/SaslAuthMethod.java