diff options
author | Sai Gandham <gandham.saiprasad@gmail.com> | 2020-04-25 21:29:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-25 21:29:29 +0000 |
commit | d7c1a1b6c4218e3f470f86e4ff67fdcdc86f0ea5 (patch) | |
tree | deb33803d25e4a5d11aa7e42131d3490b08dc6ba /auth/auth-deforg | |
parent | e4220946ef3feb864ed45e4fc14682be2016dc1b (diff) | |
parent | 475da40b0d58acdf4dd1a3590c490ce7b95a1af8 (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.java | 5 |
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"); |