src/main/java/org/apache/hadoop/hdfs/server/namenode/analytics/security/SecurityContext.java
public synchronized void refresh(ApplicationConfiguration appConf) {
    this.adminUsers = new UserSet(appConf.getAdminUsers());
    this.writeUsers = new UserSet(appConf.getWriteUsers());
    this.readOnlyUsers = new UserSet(appConf.getReadOnlyUsers());
    this.cacheReaderUsers = new UserSet(appConf.getCacheReaderUsers());
    this.localOnlyUsers = new UserPasswordSet(appConf.getLocalOnlyUsers());
  }
/**
   * Re-reads ApplicationConfiguration from ClassLoader and updates authorization.
   *
   * @param appConf the newly read security configuration
   */
Re-reads ApplicationConfiguration from ClassLoader and updates authorization.
@param appConf the newly read security configuration
Re - reads ApplicationConfiguration from ClassLoader and updates authorization . @param appConf the newly read security configuration
public synchronized void refresh(ApplicationConfiguration appConf) {
    this.adminUsers = new UserSet(appConf.getAdminUsers());
    this.writeUsers = new UserSet(appConf.getWriteUsers());
    this.readOnlyUsers = new UserSet(appConf.getReadOnlyUsers());
    this.cacheReaderUsers = new UserSet(appConf.getCacheReaderUsers());
    this.localOnlyUsers = new UserPasswordSet(appConf.getLocalOnlyUsers());
  }
public synchronized void refresh ( ApplicationConfiguration appConf ) { this . adminUsers = new UserSet ( appConf . getAdminUsers ( ) ) ; this . writeUsers = new UserSet ( appConf . getWriteUsers ( ) ) ; this . readOnlyUsers = new UserSet ( appConf . getReadOnlyUsers ( ) ) ; this . cacheReaderUsers = new UserSet ( appConf . getCacheReaderUsers ( ) ) ; this . localOnlyUsers = new UserPasswordSet ( appConf . getLocalOnlyUsers ( ) ) ; }
Re-reads ApplicationConfiguration from ClassLoader and updates authorization.
Re - reads ApplicationConfiguration from ClassLoader and updates authorization .