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 classSpnegoDisabledAuthenticatorFactory.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 Authenticatorcreate(KeycloakSession session)StringgetHelpText()AuthenticationExecutionModel.Requirement[]getRequirementChoices()What requirement settings are allowed.booleanisSupported()-
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:
createin interfaceProviderFactory<Authenticator>- Overrides:
createin classSpnegoAuthenticatorFactory
-
getHelpText
public String getHelpText()
- Specified by:
getHelpTextin interfaceConfiguredProvider- Overrides:
getHelpTextin classSpnegoAuthenticatorFactory
-
getRequirementChoices
public AuthenticationExecutionModel.Requirement[] getRequirementChoices()
Description copied from interface:ConfigurableAuthenticatorFactoryWhat requirement settings are allowed.- Specified by:
getRequirementChoicesin interfaceConfigurableAuthenticatorFactory- Overrides:
getRequirementChoicesin classSpnegoAuthenticatorFactory- Returns:
-
isSupported
public boolean isSupported()
- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Overrides:
isSupportedin classSpnegoAuthenticatorFactory- Returns:
trueif the provider is supported and should be available,falseotherwise
-
-