@Override
  public Iterable<Service> getServices() {
    return Collections
      .singleton(AuthenticationProtos.AuthenticationService.newReflectiveService(this));
  }
@param ugi A user group information.
@return true if delegation token operation is allowed
hbase-server/src/main/java/org/apache/hadoop/hbase/security/token/TokenProvider.java