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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserFullInvalidationEvent.ExternalizerImpl
-
Constructor Summary
Constructors Constructor Description UserFullInvalidationEvent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInvalidations(UserCacheManager userCache, Set<String> invalidations)
static UserFullInvalidationEvent
create(String userId, String username, String email, String realmId, boolean identityFederationEnabled, Stream<FederatedIdentityModel> federatedIdentities)
boolean
equals(Object o)
Map<String,String>
getFederatedIdentities()
String
getId()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
create
public static UserFullInvalidationEvent create(String userId, String username, String email, String realmId, boolean identityFederationEnabled, Stream<FederatedIdentityModel> federatedIdentities)
-
getId
public String getId()
- Specified by:
getId
in classInvalidationEvent
-
addInvalidations
public void addInvalidations(UserCacheManager userCache, Set<String> invalidations)
- Specified by:
addInvalidations
in interfaceUserCacheInvalidationEvent
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classInvalidationEvent
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classInvalidationEvent
-
-