Class ForgottenPasswordConfigProvider
- java.lang.Object
-
- org.forgerock.openam.selfservice.config.flows.ForgottenPasswordConfigProvider
-
- All Implemented Interfaces:
ServiceConfigProvider<ForgottenPasswordConsoleConfig>
public final class ForgottenPasswordConfigProvider extends Object implements ServiceConfigProvider<ForgottenPasswordConsoleConfig>
The default forgotten password configuration definition.- Since:
- 13.0.0
-
-
Constructor Summary
Constructors Constructor Description ForgottenPasswordConfigProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.selfservice.core.config.ProcessInstanceConfiggetServiceConfig(ForgottenPasswordConsoleConfig config, org.forgerock.services.context.Context context, String realm)Provides the self service config for the appropriate flow.booleanisServiceEnabled(ForgottenPasswordConsoleConfig config)Determines whether the specific service is enabled.
-
-
-
Method Detail
-
isServiceEnabled
public boolean isServiceEnabled(ForgottenPasswordConsoleConfig config)
Description copied from interface:ServiceConfigProviderDetermines whether the specific service is enabled.- Specified by:
isServiceEnabledin interfaceServiceConfigProvider<ForgottenPasswordConsoleConfig>- Parameters:
config- the console config- Returns:
- whether the service is enabled
-
getServiceConfig
public org.forgerock.selfservice.core.config.ProcessInstanceConfig getServiceConfig(ForgottenPasswordConsoleConfig config, org.forgerock.services.context.Context context, String realm)
Description copied from interface:ServiceConfigProviderProvides the self service config for the appropriate flow.- Specified by:
getServiceConfigin interfaceServiceConfigProvider<ForgottenPasswordConsoleConfig>- Parameters:
config- the console configcontext- CREST contextrealm- the current realm- Returns:
- service config
-
-