Try this, you can define the constant for OOB fmdita service user in custom constant file. try (ResourceResolver resourceResolver = resolverFactory.getServiceResourceResolver(CustomConstants.FMDITA_SERVICE_USER_PARAMS)) {if (resourceResolver == null) {LOGGER.error("ResourceResolver is null");respons...