public abstract class AbstractAuthSessionClusterListener<SE extends SessionClusterEvent> extends Object implements ClusterListener
Constructor and Description |
---|
AbstractAuthSessionClusterListener(KeycloakSessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
void |
eventReceived(ClusterEvent event)
Registered task to be executed on all cluster nodes once it's notified from cache.
|
protected abstract void |
eventReceived(KeycloakSession session,
InfinispanAuthenticationSessionProvider provider,
SE sessionEvent) |
public AbstractAuthSessionClusterListener(KeycloakSessionFactory sessionFactory)
public void eventReceived(ClusterEvent event)
ClusterListener
eventReceived
in interface ClusterListener
event
- value of notification (Object added into the cache)protected abstract void eventReceived(KeycloakSession session, InfinispanAuthenticationSessionProvider provider, SE sessionEvent)
Copyright © 2020 JBoss by Red Hat. All rights reserved.