public abstract class AbstractClientAuthenticator extends Object implements ClientAuthenticator, ClientAuthenticatorFactory
REQUIREMENT_CHOICES
Constructor and Description |
---|
AbstractClientAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is called when the server shuts down.
|
ClientAuthenticator |
create() |
ClientAuthenticator |
create(KeycloakSession session) |
String |
getReferenceCategory()
General authenticator type, i.e.
|
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isUserSetupAllowed()
Does this authenticator have required actions that can set if the user does not have
this authenticator set up?
|
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticateClient
getAdapterConfiguration, getConfigPropertiesPerClient, getProtocolAuthenticatorMethods, isConfigurable
getId, order
getDisplayType, getRequirementChoices
getConfigProperties, getHelpText
public ClientAuthenticator create()
create
in interface ClientAuthenticatorFactory
public void close()
ProviderFactory
close
in interface Provider
close
in interface ProviderFactory<ClientAuthenticator>
public ClientAuthenticator create(KeycloakSession session)
create
in interface ProviderFactory<ClientAuthenticator>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<ClientAuthenticator>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<ClientAuthenticator>
public boolean isUserSetupAllowed()
ConfigurableAuthenticatorFactory
isUserSetupAllowed
in interface ConfigurableAuthenticatorFactory
public String getReferenceCategory()
ConfigurableAuthenticatorFactory
getReferenceCategory
in interface ConfigurableAuthenticatorFactory
Copyright © 2020 JBoss by Red Hat. All rights reserved.