// }
Properties config =
portal.getConfig().getSecurityConfig().getSecurityManagerConfig().getUserManagerConfigProps();
if (config == null || config.getProperty("subsystem") == null) {
log.info("Native user manager is created");
return new NativeUserManager(adminId, config);
} else {
if (config.getProperty("subsystem").equalsIgnoreCase("native")) {
log.info("Native user manager is created");
return new NativeUserManager(adminId, config);
} else if (config.getProperty("subsystem").equalsIgnoreCase("osg")) {
log.info("OSG user manager is created");
return new OSGUserManager(adminId, config);
} else {
log.info("Native user manager is created");
return new NativeUserManager(adminId, config);
}
}
}