def InitializeFromConfig(self):
    usernames = config_lib.CONFIG.Get("Dataserver.client_credentials")
    self.client_users = {}
    for user_spec in usernames:
      try:
        user, pwd, perm = user_spec.split(":", 2)
        self.client_users[user] = data_server.DataServerClientInformation(
            username=user, password=pwd, permissions=perm)
      except __HOLE__:
        raise errors.DataServerError(
            "User %s from Dataserver.client_credentials is not"
            " a valid specification" % user_spec)
dataset/ETHPy150Open google/grr/grr/server/data_server/auth.py/ClientCredentials.InitializeFromConfig