Interface ServiceConfigProvider<C extends SelfServiceConsoleConfig>
- Type Parameters:
C- the console configuration type
Provides self service config instances based of the passed console configuration instance.
-
Method Summary
Modifier and TypeMethodDescriptiongetServiceConfig(C config, Context context, String realm) Provides the self service config for the appropriate flow.booleanisServiceEnabled(C config) Determines whether the specific service is enabled.
-
Method Details
-
isServiceEnabled
Determines whether the specific service is enabled.- Parameters:
config- the console config- Returns:
- whether the service is enabled
-
getServiceConfig
Provides the self service config for the appropriate flow.- Parameters:
config- the console configcontext- CREST contextrealm- the current realm- Returns:
- service config
-