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, postInit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public DeployedScriptAuthenticatorFactory(ScriptProviderMetadata metadata)
public DeployedScriptAuthenticatorFactory()
public Authenticator create(KeycloakSession session)
create
in interface ProviderFactory<Authenticator>
create
in class ScriptBasedAuthenticatorFactory
public String getId()
getId
in interface ProviderFactory<Authenticator>
getId
in class ScriptBasedAuthenticatorFactory
public boolean isConfigurable()
ConfigurableAuthenticatorFactory
isConfigurable
in interface ConfigurableAuthenticatorFactory
isConfigurable
in class ScriptBasedAuthenticatorFactory
public boolean isUserSetupAllowed()
ConfigurableAuthenticatorFactory
isUserSetupAllowed
in interface ConfigurableAuthenticatorFactory
isUserSetupAllowed
in class ScriptBasedAuthenticatorFactory
public String getDisplayType()
ConfigurableAuthenticatorFactory
getDisplayType
in interface ConfigurableAuthenticatorFactory
getDisplayType
in class ScriptBasedAuthenticatorFactory
public String getHelpText()
getHelpText
in interface ConfiguredProvider
getHelpText
in class ScriptBasedAuthenticatorFactory
public boolean isSupported()
isSupported
in interface EnvironmentDependentProviderFactory
isSupported
in class ScriptBasedAuthenticatorFactory
true
if the provider is supported and should be available, false
otherwisepublic void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<Authenticator>
init
in class ScriptBasedAuthenticatorFactory
public List<ProviderConfigProperty> getConfigProperties()
getConfigProperties
in interface ConfiguredProvider
getConfigProperties
in class ScriptBasedAuthenticatorFactory
public void setMetadata(ScriptProviderMetadata metadata)
public ScriptProviderMetadata getMetadata()
Copyright © 2021 JBoss by Red Hat. All rights reserved.