Class ConditionalRoleAuthenticatorFactory
java.lang.Object
org.keycloak.authentication.authenticators.conditional.ConditionalRoleAuthenticatorFactory
- All Implemented Interfaces:
- AuthenticatorFactory,- ConditionalAuthenticatorFactory,- ConfigurableAuthenticatorFactory,- ConfiguredProvider,- ProviderFactory<Authenticator>
public class ConditionalRoleAuthenticatorFactory
extends Object
implements ConditionalAuthenticatorFactory
- 
Field SummaryFieldsFields inherited from interface org.keycloak.authentication.authenticators.conditional.ConditionalAuthenticatorFactoryREFERENCE_CATEGORY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.Friendly name for the authenticatorgetId()What requirement settings are allowed.voidinit(Config.Scope config) Only called once when the factory is first created.booleanIs this authenticator configurable?booleanDoes this authenticator have required actions that can set if the user does not have this authenticator set up?voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.authenticators.conditional.ConditionalAuthenticatorFactorycreate, getReferenceCategoryMethods inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactorygetOptionalReferenceCategoriesMethods inherited from interface org.keycloak.provider.ConfiguredProvidergetConfigMethods inherited from interface org.keycloak.provider.ProviderFactorydependsOn, getConfigMetadata, order
- 
Field Details- 
PROVIDER_ID- See Also:
 
- 
CONDITIONAL_USER_ROLE- See Also:
 
- 
CONF_NEGATE- See Also:
 
 
- 
- 
Constructor Details- 
ConditionalRoleAuthenticatorFactorypublic ConditionalRoleAuthenticatorFactory()
 
- 
- 
Method Details- 
initDescription copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
- initin interface- ProviderFactory<Authenticator>
 
- 
postInitDescription copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<Authenticator>
 
- 
closepublic void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory<Authenticator>
 
- 
getId- Specified by:
- getIdin interface- ProviderFactory<Authenticator>
 
- 
getDisplayTypeDescription copied from interface:ConfigurableAuthenticatorFactoryFriendly name for the authenticator- Specified by:
- getDisplayTypein interface- ConfigurableAuthenticatorFactory
- Returns:
 
- 
isConfigurablepublic boolean isConfigurable()Description copied from interface:ConfigurableAuthenticatorFactoryIs this authenticator configurable?- Specified by:
- isConfigurablein interface- ConfigurableAuthenticatorFactory
- Returns:
 
- 
getRequirementChoicesDescription copied from interface:ConfigurableAuthenticatorFactoryWhat requirement settings are allowed.- Specified by:
- getRequirementChoicesin interface- ConfigurableAuthenticatorFactory
- Returns:
 
- 
isUserSetupAllowedpublic boolean isUserSetupAllowed()Description copied from interface:ConfigurableAuthenticatorFactoryDoes this authenticator have required actions that can set if the user does not have this authenticator set up?- Specified by:
- isUserSetupAllowedin interface- ConfigurableAuthenticatorFactory
- Returns:
 
- 
getHelpText- Specified by:
- getHelpTextin interface- ConfiguredProvider
 
- 
getConfigProperties- Specified by:
- getConfigPropertiesin interface- ConfiguredProvider
 
- 
getSingleton- Specified by:
- getSingletonin interface- ConditionalAuthenticatorFactory
 
 
-