Class InfinispanUserLoginFailureProviderFactory
java.lang.Object
org.keycloak.models.sessions.infinispan.InfinispanUserLoginFailureProviderFactory
- All Implemented Interfaces:
UserLoginFailureProviderFactory<InfinispanUserLoginFailureProvider>,EnvironmentDependentProviderFactory,ProviderFactory<InfinispanUserLoginFailureProvider>
public class InfinispanUserLoginFailureProviderFactory
extends Object
implements UserLoginFailureProviderFactory<InfinispanUserLoginFailureProvider>, EnvironmentDependentProviderFactory
- Author:
- Martin Kanis
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckRemoteCaches(KeycloakSession session) voidclose()This is called when the server shuts down.create(KeycloakSession session) getId()voidinit(Config.Scope config) Only called once when the factory is first created.booleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.intorder()voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedprotected voidregisterClusterListeners(KeycloakSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata
-
Field Details
-
REALM_REMOVED_SESSION_EVENT
- See Also:
-
REMOVE_ALL_LOGIN_FAILURES_EVENT
- See Also:
-
-
Constructor Details
-
InfinispanUserLoginFailureProviderFactory
public InfinispanUserLoginFailureProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
initin interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
registerClusterListeners
-
checkRemoteCaches
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
order
public int order()- Specified by:
orderin interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactoryCheck if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-