public Collection<UserAuthenticationEntity> getUserAuthenticationEntities(UserAuthenticationType authenticationType, String key) {
    return userAuthenticationDAO.findByTypeAndKey(authenticationType, key);
  }
Find the {@link UserAuthenticationEntity} items for a specific {@link UserAuthenticationType}
and key value.

@param authenticationType the authentication type
@param key                the key value
@return the found collection of {@link UserAuthenticationEntity} values
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/Users.java