Disallow and reject empty service registry configurations

Description

The DefaultServicesManagerImpl returns an instance of RegisteredServiceImpl that is friendly to all, when no service definitions are specified and the consumed list is empty.

1 2 3 if (c.isEmpty()) { return this.disabledRegisteredService; }

Disallows this behavior and locks down the service registry configuration to at least one definition. Authentication should fail when no services are defined, when this feature is activated.

Environment

None

Status

Assignee

Misagh Moayyed

Reporter

Misagh Moayyed

Labels

None

Estimated End Date

None

Audience

None

Components

Fix versions

Affects versions

3.5.2

Priority

Major