summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn J. Franey <john.franey@att.com>2020-01-09 16:38:00 -0500
committerJohn J. Franey <john.franey@att.com>2020-01-09 20:42:49 -0500
commit9a152c4fed4678049b63f53cd94a558b2d6e2cd7 (patch)
tree9923c26ff892c23e05214d8de4bb498d72f43e50
parent78ccdcc1d1c29760e4cf833f94df62e1c5aa733f (diff)
restore a couple of fields' access to public
Apparently, these fields are part of contract to custom plugins. Issue-ID: AAF-1040 Signed-off-by: John J. Franey <john.franey@att.com> Change-Id: Ib3106230416baae9c63136ed2563a6416b61d40f
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java2
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
index 9aebee52..e2f37651 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Cred.java
@@ -49,7 +49,7 @@ import com.datastax.driver.core.Statement;
public class Cred {
public static final SortedMap<String,Cred> data = new TreeMap<>();
- protected static final SortedMap<String,List<Cred>> byNS = new TreeMap<>();
+ public static final SortedMap<String,List<Cred>> byNS = new TreeMap<>();
public final String id;
public final List<Instance> instances;
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java
index 0b5e6b8b..a61619ea 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/Role.java
@@ -43,8 +43,8 @@ import com.datastax.driver.core.SimpleStatement;
import com.datastax.driver.core.Statement;
public class Role implements Comparable<Role> {
- protected static final SortedMap<Role,Set<String>> data = new TreeMap<>();
- protected static final SortedMap<String,Role> keys = new TreeMap<>();
+ public static final SortedMap<Role,Set<String>> data = new TreeMap<>();
+ public static final SortedMap<String,Role> keys = new TreeMap<>();
public static final SortedMap<String,Role> byName = new TreeMap<>();
private static List<Role> deleteRoles = new ArrayList<>();