public void removeAuthentication(String username, Long authenticationId) {
    removeAuthentication(getUserEntity(username), authenticationId);
  }
Modifies authentication key of an authentication source for a user

@throws AmbariException
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/Users.java