Class DeployedScriptAuthenticatorFactory
- java.lang.Object
- 
- org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory
- 
- org.keycloak.authentication.authenticators.browser.DeployedScriptAuthenticatorFactory
 
 
- 
- All Implemented Interfaces:
- AuthenticatorFactory,- ConfigurableAuthenticatorFactory,- ConfiguredProvider,- EnvironmentDependentProviderFactory,- ProviderFactory<Authenticator>
 
 public final class DeployedScriptAuthenticatorFactory extends ScriptBasedAuthenticatorFactory - Author:
- Pedro Igor
 
- 
- 
Field Summary- 
Fields inherited from class org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactoryPROVIDER_ID
 
- 
 - 
Constructor SummaryConstructors Constructor Description DeployedScriptAuthenticatorFactory()DeployedScriptAuthenticatorFactory(ScriptProviderMetadata metadata)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Authenticatorcreate(KeycloakSession session)AuthenticatorConfigModelgetConfig()Returns a default configuration for this provider.List<ProviderConfigProperty>getConfigProperties()StringgetDisplayType()Friendly name for the authenticatorStringgetHelpText()StringgetId()ScriptProviderMetadatagetMetadata()voidinit(Config.Scope config)Only called once when the factory is first created.booleanisSupported()booleanisUserSetupAllowed()Does this authenticator have required actions that can set if the user does not have this authenticator set up?voidsetMetadata(ScriptProviderMetadata metadata)- 
Methods inherited from class org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactoryclose, getReferenceCategory, getRequirementChoices, isConfigurable, postInit
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactoryisSupported
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 
- 
 
- 
- 
- 
Constructor Detail- 
DeployedScriptAuthenticatorFactorypublic DeployedScriptAuthenticatorFactory(ScriptProviderMetadata metadata) 
 - 
DeployedScriptAuthenticatorFactorypublic DeployedScriptAuthenticatorFactory() 
 
- 
 - 
Method Detail- 
createpublic Authenticator create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory<Authenticator>
- Overrides:
- createin class- ScriptBasedAuthenticatorFactory
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<Authenticator>
- Overrides:
- getIdin class- ScriptBasedAuthenticatorFactory
 
 - 
isUserSetupAllowedpublic boolean isUserSetupAllowed() Description copied from interface:ConfigurableAuthenticatorFactoryDoes this authenticator have required actions that can set if the user does not have this authenticator set up?- Specified by:
- isUserSetupAllowedin interface- ConfigurableAuthenticatorFactory
- Overrides:
- isUserSetupAllowedin class- ScriptBasedAuthenticatorFactory
- Returns:
 
 - 
getDisplayTypepublic String getDisplayType() Description copied from interface:ConfigurableAuthenticatorFactoryFriendly name for the authenticator- Specified by:
- getDisplayTypein interface- ConfigurableAuthenticatorFactory
- Overrides:
- getDisplayTypein class- ScriptBasedAuthenticatorFactory
- Returns:
 
 - 
getHelpTextpublic String getHelpText() - Specified by:
- getHelpTextin interface- ConfiguredProvider
- Overrides:
- getHelpTextin class- ScriptBasedAuthenticatorFactory
 
 - 
isSupportedpublic boolean isSupported() - Specified by:
- isSupportedin interface- EnvironmentDependentProviderFactory
- Overrides:
- isSupportedin class- ScriptBasedAuthenticatorFactory
- Returns:
- trueif the provider is supported and should be available,- falseotherwise
 
 - 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory<Authenticator>
- Overrides:
- initin class- ScriptBasedAuthenticatorFactory
 
 - 
getConfigPropertiespublic List<ProviderConfigProperty> getConfigProperties() - Specified by:
- getConfigPropertiesin interface- ConfiguredProvider
- Overrides:
- getConfigPropertiesin class- ScriptBasedAuthenticatorFactory
 
 - 
getConfigpublic AuthenticatorConfigModel getConfig() Description copied from interface:ConfiguredProviderReturns a default configuration for this provider.- Returns:
- the default configuration
 
 - 
setMetadatapublic void setMetadata(ScriptProviderMetadata metadata) 
 - 
getMetadatapublic ScriptProviderMetadata getMetadata() 
 
- 
 
-