public final class DeployedScriptAuthenticatorFactory extends ScriptBasedAuthenticatorFactory
PROVIDER_ID| Constructor and Description |
|---|
DeployedScriptAuthenticatorFactory() |
DeployedScriptAuthenticatorFactory(ScriptProviderMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
create(KeycloakSession session) |
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayType()
Friendly name for the authenticator
|
String |
getHelpText() |
String |
getId() |
ScriptProviderMetadata |
getMetadata() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isConfigurable()
Is this authenticator configurable?
|
boolean |
isSupported() |
boolean |
isUserSetupAllowed()
Does this authenticator have required actions that can set if the user does not have
this authenticator set up?
|
void |
setMetadata(ScriptProviderMetadata metadata) |
close, getReferenceCategory, getRequirementChoices, postInitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorderpublic DeployedScriptAuthenticatorFactory(ScriptProviderMetadata metadata)
public DeployedScriptAuthenticatorFactory()
public Authenticator create(KeycloakSession session)
create in interface ProviderFactory<Authenticator>create in class ScriptBasedAuthenticatorFactorypublic String getId()
getId in interface ProviderFactory<Authenticator>getId in class ScriptBasedAuthenticatorFactorypublic boolean isConfigurable()
ConfigurableAuthenticatorFactoryisConfigurable in interface ConfigurableAuthenticatorFactoryisConfigurable in class ScriptBasedAuthenticatorFactorypublic boolean isUserSetupAllowed()
ConfigurableAuthenticatorFactoryisUserSetupAllowed in interface ConfigurableAuthenticatorFactoryisUserSetupAllowed in class ScriptBasedAuthenticatorFactorypublic String getDisplayType()
ConfigurableAuthenticatorFactorygetDisplayType in interface ConfigurableAuthenticatorFactorygetDisplayType in class ScriptBasedAuthenticatorFactorypublic String getHelpText()
getHelpText in interface ConfiguredProvidergetHelpText in class ScriptBasedAuthenticatorFactorypublic boolean isSupported()
isSupported in interface EnvironmentDependentProviderFactoryisSupported in class ScriptBasedAuthenticatorFactorytrue if the provider is supported and should be available, false otherwisepublic void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<Authenticator>init in class ScriptBasedAuthenticatorFactorypublic List<ProviderConfigProperty> getConfigProperties()
getConfigProperties in interface ConfiguredProvidergetConfigProperties in class ScriptBasedAuthenticatorFactorypublic void setMetadata(ScriptProviderMetadata metadata)
public ScriptProviderMetadata getMetadata()
Copyright © 2021 JBoss by Red Hat. All rights reserved.