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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkRemoteCaches
(KeycloakSession session) void
close()
This is called when the server shuts down.create
(KeycloakSession session) getId()
void
init
(Config.Scope config) Only called once when the factory is first created.boolean
isSupported
(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.int
order()
void
postInit
(KeycloakSessionFactory factory) Called after all provider factories have been initializedprotected void
registerClusterListeners
(KeycloakSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ProviderFactory
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:
create
in interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
registerClusterListeners
-
checkRemoteCaches
-
close
public void close()Description copied from interface:ProviderFactory
This is called when the server shuts down.- Specified by:
close
in interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
getId
- Specified by:
getId
in interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
order
public int order()- Specified by:
order
in interfaceProviderFactory<InfinispanUserLoginFailureProvider>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactory
Check if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupported
in interfaceEnvironmentDependentProviderFactory
- Parameters:
config
- the provider configuration- Returns:
true
if the provider is supported. Otherwise,false
.
-