final int maxIntegrationsPerUser = properties.getMaxIntegrationsPerUser(); if (maxIntegrationsPerUser != ControllersConfigurationProperties.UNLIMITED) { int userIntegrations = countActiveIntegrationsOfSameUserAs(integrationDeployment); if (userIntegrations >= maxIntegrationsPerUser) {