Skip to content

Backward compat support for LoginPrivileges

Closes #84 (closed)

Included both new
"cluster:admin/securityplus/login/session" and old "cluster:admin:searchguard:login/session" action names to the list of required privelleges

in Session ServiceConfig

result.requiredLoginPrivileges = vJsonNode.get("required_login_privileges").withListDefault(LoginPrivileges.SESSION, LoginPrivileges.SESSION_SG_COMPAT).ofStrings();

result.requiredLoginPrivileges = ImmutableList.of(LoginPrivileges.SESSION, LoginPrivileges.SESSION_SG_COMPAT);

Merge request reports

Loading