Minor fixes starting from Scratch
[aaf/authz.git] / auth / auth-core / src / main / java / org / onap / aaf / auth / org / OrganizationFactory.java
index 40c8c2d..f4e6d14 100644 (file)
@@ -71,7 +71,7 @@ public class OrganizationFactory {
                                String realm = env.getProperty(Config.AAF_DEFAULT_REALM,"people.osaaf.org");
                                defaultOrg = cnst.newInstance(env,realm);
                        } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | NoSuchMethodException | SecurityException | IllegalArgumentException | InvocationTargetException e) {
-                       throw new OrganizationException("At least one Organization must be defined",e);
+                       env.warn().log("Not Organization Moduled linked in",e);
                        }
         }
         if (defaultOrg == null) {