Package org.keycloak.provider
Interface EnvironmentDependentProviderFactory
- All Known Subinterfaces:
AuthenticationChannelProviderFactory,CIBALoginUserResolverFactory,ClientPolicyConditionProviderFactory,ClientPolicyExecutorProviderFactory
- All Known Implementing Classes:
AbstractClientPolicyConditionProviderFactory,AcrProtocolMapper,AnyClientConditionFactory,CibaRootEndpoint,ClientAccessTypeConditionFactory,ClientRolesConditionFactory,ClientScopesConditionFactory,ClientSecretRotationExecutorFactory,ClientUpdaterContextConditionFactory,ClientUpdaterSourceGroupsConditionFactory,ClientUpdaterSourceHostsConditionFactory,ClientUpdaterSourceRolesConditionFactory,ConditionalLoaAuthenticatorFactory,ConfidentialClientAcceptExecutorFactory,ConsentRequiredExecutorFactory,DBLockGlobalLockProviderFactory,DefaultCIBALoginUserResolverFactory,DefaultInfinispanConnectionProviderFactory,DeployedScriptAuthenticatorFactory,DeployedScriptOIDCProtocolMapper,DeployedScriptSAMLProtocolMapper,DeviceEndpointFactory,DisabledStickySessionEncoderProvider,DockerAuthV2ProtocolFactory,FullScopeDisabledExecutorFactory,HolderOfKeyEnforcerExecutorFactory,HttpAuthenticationChannelProviderFactory,InfinispanCachePublicKeyProviderFactory,InfinispanClusterProviderFactory,InfinispanMultiSiteLoadBalancerCheckProviderFactory,InfinispanPublicKeyStorageProviderFactory,InfinispanStickySessionEncoderProviderFactory,IntentClientBindCheckExecutorFactory,JpaExceptionConverter,JpaUserFederatedStorageProviderFactory,JpaUserSessionPersisterProviderFactory,KerberosFederationProviderFactory,LegacyDatastoreProviderFactory,LinkedInIdentityProviderFactory,LiquibaseDBLockProviderFactory,NoneGlobalLockProviderFactory,ParRootEndpoint,PKCEEnforcerExecutorFactory,RecoveryAuthnCodesAction,RecoveryAuthnCodesCredentialProviderFactory,RecoveryAuthnCodesFormAuthenticatorFactory,RecoveryCodesWarningThresholdPasswordPolicyProviderFactory,RegistrationAccessTokenRotationDisabledExecutorFactory,RejectImplicitGrantExecutorFactory,RejectRequestExecutorFactory,RejectResourceOwnerPasswordCredentialsGrantExecutorFactory,ScriptBasedAuthenticatorFactory,ScriptBasedMapper,ScriptBasedOIDCProtocolMapper,SecureCibaAuthenticationRequestSigningAlgorithmExecutorFactory,SecureCibaSessionEnforceExecutorFactory,SecureCibaSignedAuthenticationRequestExecutorFactory,SecureClientAuthenticatorExecutorFactory,SecureClientUrisExecutorFactory,SecureLogoutExecutorFactory,SecureParContentsExecutorFactory,SecureRequestObjectExecutorFactory,SecureResponseTypeExecutorFactory,SecureSessionEnforceExecutorFactory,SecureSigningAlgorithmExecutorFactory,SecureSigningAlgorithmForSignedJwtExecutorFactory,SSSDFederationProviderFactory,SuppressRefreshTokenRotationExecutorFactory,UpdateEmail,WebAuthnAuthenticatorFactory,WebAuthnCredentialProviderFactory,WebAuthnPasswordlessAuthenticatorFactory,WebAuthnPasswordlessCredentialProviderFactory,WebAuthnPasswordlessRegisterFactory,WebAuthnRegisterFactory
public interface EnvironmentDependentProviderFactory
Providers 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
Modifier and TypeMethodDescriptionbooleanDeprecated.default booleanisSupported(Config.Scope config) An alternative toisSupported()method to check if the provider is supported based on the provider configuration.
-
Method Details
-
isSupported
boolean isSupported()Deprecated.Prefer overriding/using theisSupported(Config.Scope)method.- Returns:
trueif the provider is supported and should be available,falseotherwise
-
isSupported
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.
-
isSupported(Config.Scope)method.