summaryrefslogtreecommitdiffstats
path: root/auth/auth-deforg
diff options
context:
space:
mode:
authorSai Gandham <gandham.saiprasad@gmail.com>2020-04-25 21:29:29 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-25 21:29:29 +0000
commitd7c1a1b6c4218e3f470f86e4ff67fdcdc86f0ea5 (patch)
treedeb33803d25e4a5d11aa7e42131d3490b08dc6ba /auth/auth-deforg
parente4220946ef3feb864ed45e4fc14682be2016dc1b (diff)
parent475da40b0d58acdf4dd1a3590c490ce7b95a1af8 (diff)
Merge "Add StandAlone Unix Configurations Include scripts, podman starts, minor code changes."
Diffstat (limited to 'auth/auth-deforg')
-rw-r--r--auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java b/auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java
index 307c9c95..1822e990 100644
--- a/auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java
+++ b/auth/auth-deforg/src/main/java/org/onap/aaf/org/DefaultOrg.java
@@ -68,13 +68,12 @@ public class DefaultOrg implements Organization {
root_ns = env.getProperty(Config.AAF_ROOT_NS,Config.AAF_ROOT_NS_DEF);
try {
- String defFile;
- String temp=env.getProperty(defFile = (getClass().getName()+".file"));
+ String temp=env.getProperty(realm +".file");
File fIdentities=null;
if (temp==null) {
temp = env.getProperty(AAF_DATA_DIR);
if (temp!=null) {
- env.warn().log(defFile, " is not defined. Using default: ",temp+"/identities.dat");
+ env.warn().log("Datafile for " + realm + " is not defined. Using default: ",temp+"/identities.dat");
File dir = new File(temp);
fIdentities=new File(dir,"identities.dat");