[TEST] adapt ShieldRestTests to new users_roles format

Original commit: elastic/x-pack-elasticsearch@455a4e3fbc
This commit is contained in:
javanna 2014-10-14 10:54:21 +02:00 committed by Luca Cavanna
parent aaf1762bd6
commit 97df195c02
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ public class ShieldRestTests extends ElasticsearchRestTests {
public static final String CONFIG_IPFILTER_ALLOW_ALL = "allow: all\n";
public static final String CONFIG_STANDARD_USER = DEFAULT_USER_NAME + ":{plain}" + DEFAULT_PASSWORD + "\n";
public static final String CONFIG_STANDARD_USER_ROLES = DEFAULT_USER_NAME + ":" + DEFAULT_ROLE + "\n";
public static final String CONFIG_ROLE_ALLOW_ALL = "user:\n" +
public static final String CONFIG_STANDARD_USER_ROLES = DEFAULT_ROLE + ":" + DEFAULT_USER_NAME+ "\n";
public static final String CONFIG_ROLE_ALLOW_ALL = DEFAULT_ROLE + ":\n" +
" cluster: ALL\n" +
" indices:\n" +
" '.*': ALL\n";