Package org.keycloak.provider
Interface EnvironmentDependentProviderFactory
-
- All Known Subinterfaces:
ClientPolicyConditionProviderFactory,ClientPolicyExecutorProviderFactory
- All Known Implementing Classes:
AbstractClientPolicyConditionProviderFactory,DisabledStickySessionEncoderProvider,NoneGlobalLockProviderFactory,RecoveryCodesWarningThresholdPasswordPolicyProviderFactory
public interface EnvironmentDependentProviderFactoryProviders that are only supported in some environments can implement this interface to be able to determine if they should be available or not.- Author:
- Stian Thorgersen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description booleanisSupported()Deprecated.Prefer overriding/using theisSupported(Config.Scope)method.default booleanisSupported(Config.Scope config)An alternative toisSupported()method to check if the provider is supported based on the provider configuration.
-
-
-
Method Detail
-
isSupported
boolean isSupported()
Deprecated.Prefer overriding/using theisSupported(Config.Scope)method.- Returns:
trueif the provider is supported and should be available,falseotherwise
-
isSupported
default boolean isSupported(Config.Scope config)
An alternative toisSupported()method to check if the provider is supported based on the provider configuration.- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-
-