Class UserFullInvalidationEvent
java.lang.Object
org.keycloak.models.cache.infinispan.events.InvalidationEvent
org.keycloak.models.cache.infinispan.events.UserFullInvalidationEvent
- All Implemented Interfaces:
Serializable
,ClusterEvent
,UserCacheInvalidationEvent
@SerializeWith(ExternalizerImpl.class)
public class UserFullInvalidationEvent
extends InvalidationEvent
implements UserCacheInvalidationEvent
Used when user added/removed
- Author:
- Marek Posolda
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInvalidations
(UserCacheManager userCache, Set<String> invalidations) static UserFullInvalidationEvent
create
(String userId, String username, String email, String realmId, boolean identityFederationEnabled, Stream<FederatedIdentityModel> federatedIdentities) boolean
getId()
int
hashCode()
toString()
-
Constructor Details
-
UserFullInvalidationEvent
public UserFullInvalidationEvent()
-
-
Method Details
-
create
public static UserFullInvalidationEvent create(String userId, String username, String email, String realmId, boolean identityFederationEnabled, Stream<FederatedIdentityModel> federatedIdentities) -
getId
- Specified by:
getId
in classInvalidationEvent
-
getFederatedIdentities
-
toString
-
addInvalidations
- Specified by:
addInvalidations
in interfaceUserCacheInvalidationEvent
-
equals
- Overrides:
equals
in classInvalidationEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classInvalidationEvent
-