NIFI-1354 Using the newly generated keystore and truststore throughout the code base and updating an associated test to utilize the specified properties.

This commit is contained in:
Aldrin Piri 2016-01-06 14:07:41 -05:00
parent 8f0e7a1ac5
commit 3d487a5381
11 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class NiFiTestAuthorizationProvider implements AuthorityProvider {
*/ */
public NiFiTestAuthorizationProvider() { public NiFiTestAuthorizationProvider() {
users = new HashMap<>(); users = new HashMap<>();
users.put("CN=localhost, OU=Testing, O=Research, L=Metropolis, ST=New York, C=US", EnumSet.of(Authority.ROLE_PROXY)); users.put("CN=localhost, OU=Apache NiFi, O=Apache, L=Santa Monica, ST=CA, C=US", EnumSet.of(Authority.ROLE_PROXY));
users.put("CN=Lastname Firstname Middlename monitor, OU=Unknown, OU=Unknown, OU=Unknown, O=Unknown, C=Unknown", EnumSet.of(Authority.ROLE_MONITOR)); users.put("CN=Lastname Firstname Middlename monitor, OU=Unknown, OU=Unknown, OU=Unknown, O=Unknown, C=Unknown", EnumSet.of(Authority.ROLE_MONITOR));
users.put("CN=Lastname Firstname Middlename dfm, OU=Unknown, OU=Unknown, OU=Unknown, O=Unknown, C=Unknown", EnumSet.of(Authority.ROLE_DFM)); users.put("CN=Lastname Firstname Middlename dfm, OU=Unknown, OU=Unknown, OU=Unknown, O=Unknown, C=Unknown", EnumSet.of(Authority.ROLE_DFM));
users.put("CN=Lastname Firstname Middlename admin, OU=Unknown, OU=Unknown, OU=Unknown, O=Unknown, C=Unknown", EnumSet.of(Authority.ROLE_ADMIN)); users.put("CN=Lastname Firstname Middlename admin, OU=Unknown, OU=Unknown, OU=Unknown, O=Unknown, C=Unknown", EnumSet.of(Authority.ROLE_ADMIN));