if k == "OSMNBI_USER_MANAGEMENT":
feature_state = eval(v.title())
engine_config["authentication"]["user_management"] = feature_state
+ elif k == "OSMNBI_PWD_EXPIRE_DAYS":
+ pwd_expire_days = int(v)
+ engine_config["authentication"]["pwd_expire_days"] = pwd_expire_days
+ elif k == "OSMNBI_MAX_PWD_ATTEMPT":
+ max_pwd_attempt = int(v)
+ engine_config["authentication"]["max_pwd_attempt"] = max_pwd_attempt
+ elif k == "OSMNBI_ACCOUNT_EXPIRE_DAYS":
+ account_expire_days = int(v)
+ engine_config["authentication"]["account_expire_days"] = account_expire_days
if not k.startswith("OSMNBI_"):
continue
k1, _, k2 = k[7:].lower().partition("_")