private void deleteUserAuthenticationSources(Set<UserAuthenticationSourceRequest> requests)
      throws AmbariException, AuthorizationException {

    for (UserAuthenticationSourceRequest r : requests) {
      String username = r.getUsername();
      Long sourceId = r.getSourceId();
      if (!StringUtils.isEmpty(username) && (sourceId != null)) {
        users.removeAuthentication(username, sourceId);
      }
    }
  }
Delete the users authentication sources identified by the given request objects.
<p>
It ia assumed that the user has previously been authorized to perform this operation.

@param requests the request objects
@throws AmbariException if the user authentication sources could not be read
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UserAuthenticationSourceResourceProvider.java