+
+ try {
+ //if app is centralized then sync user roles from the external auth system
+ orgUserId = commandBean.getUser().getOrgUserId();
+ if(EcompPortalUtils.checkIfRemoteCentralAccessAllowed()) {
+ externalAccessRolesService.syncApplicationUserRolesFromExtAuthSystem(orgUserId);
+ logger.info(EELFLoggerDelegate.errorLogger, "Sync: Sync Application UserRoles From ExtAuthSystem is done..");
+ }
+ } catch (Exception e) {
+ logger.info(EELFLoggerDelegate.errorLogger, "Sync: Sync Application UserRoles From ExtAuthSystem Faild..",
+ e);
+ }