public int getNumRegisteredProviders() {
    return providers.size();
  }
Returns the number of registered providers.
hbase-server/src/main/java/org/apache/hadoop/hbase/security/provider/SaslServerAuthenticationProviders.java