diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2014-07-22 00:03:47 -0400 |
|---|---|---|
| committer | Fraser Tweedale <frase@frase.id.au> | 2015-04-07 22:38:11 -0400 |
| commit | 2af78cedd82a08046324ea13eb4973d65c80010f (patch) | |
| tree | 343fab43ad95a4aca9b2988f5299644e2d2af0a0 /base/java-tools/src | |
| parent | 4785f08b9fa14e2abd60533542d763bdea8082a0 (diff) | |
| download | pki-2af78cedd82a08046324ea13eb4973d65c80010f.tar.gz pki-2af78cedd82a08046324ea13eb4973d65c80010f.tar.xz pki-2af78cedd82a08046324ea13eb4973d65c80010f.zip | |
Add ability to enable/disable dynamic subsystems
The CA installation process requires starting with the profile
subsystem disabled, then enabling it once profiles have been loaded
into the database. Accordingly, to avoid hacks with hardcoded
offsets, add the "enabled" CS.cfg configuration parameter along with
methods to enable or disable a subsystem based on the subsystem ID.
A disabled subsystem does not have its `init` method called, but it
is still instantiated and added to the registry so that other code
can look up a subsystem by name and find out its class.
Subsystems are enabled by default.
This commit also removes an assumption that the subsystem config
sub-store names are sequential numbers beginning at `0`.
Diffstat (limited to 'base/java-tools/src')
0 files changed, 0 insertions, 0 deletions
