Class SpnegoDisabledAuthenticatorFactory
- java.lang.Object
-
- org.keycloak.authentication.authenticators.browser.SpnegoAuthenticatorFactory
-
- org.keycloak.authentication.authenticators.browser.SpnegoDisabledAuthenticatorFactory
-
- All Implemented Interfaces:
AuthenticatorFactory
,ConfigurableAuthenticatorFactory
,ConfiguredProvider
,EnvironmentDependentProviderFactory
,ProviderFactory<Authenticator>
public class SpnegoDisabledAuthenticatorFactory extends SpnegoAuthenticatorFactory implements AuthenticatorFactory
Factory used only when KERBEROS feature is disabled. This exists due the KERBEROS authenticator is added by default to realm browser flow (even if DISABLED by default)- Author:
- Marek Posolda
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SpnegoDisabledAuthenticatorFactory.SpnegoDisabledAuthenticator
-
Field Summary
-
Fields inherited from class org.keycloak.authentication.authenticators.browser.SpnegoAuthenticatorFactory
PROVIDER_ID, SINGLETON
-
Fields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES
-
-
Constructor Summary
Constructors Constructor Description SpnegoDisabledAuthenticatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authenticator
create(KeycloakSession session)
String
getHelpText()
AuthenticationExecutionModel.Requirement[]
getRequirementChoices()
What requirement settings are allowed.boolean
isSupported()
-
Methods inherited from class org.keycloak.authentication.authenticators.browser.SpnegoAuthenticatorFactory
close, getConfigProperties, getDisplayType, getId, getReferenceCategory, init, isConfigurable, isUserSetupAllowed, postInit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
getDisplayType, getReferenceCategory, isConfigurable, isUserSetupAllowed
-
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig, getConfigProperties
-
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupported
-
Methods inherited from interface org.keycloak.provider.ProviderFactory
close, getConfigMetadata, getId, init, order, postInit
-
-
-
-
Method Detail
-
create
public Authenticator create(KeycloakSession session)
- Specified by:
create
in interfaceProviderFactory<Authenticator>
- Overrides:
create
in classSpnegoAuthenticatorFactory
-
getHelpText
public String getHelpText()
- Specified by:
getHelpText
in interfaceConfiguredProvider
- Overrides:
getHelpText
in classSpnegoAuthenticatorFactory
-
getRequirementChoices
public AuthenticationExecutionModel.Requirement[] getRequirementChoices()
Description copied from interface:ConfigurableAuthenticatorFactory
What requirement settings are allowed.- Specified by:
getRequirementChoices
in interfaceConfigurableAuthenticatorFactory
- Overrides:
getRequirementChoices
in classSpnegoAuthenticatorFactory
- Returns:
-
isSupported
public boolean isSupported()
- Specified by:
isSupported
in interfaceEnvironmentDependentProviderFactory
- Overrides:
isSupported
in classSpnegoAuthenticatorFactory
- Returns:
true
if the provider is supported and should be available,false
otherwise
-
-