Package org.keycloak.storage
Class LegacyStoreMigrateRepresentationEvent
- java.lang.Object
-
- org.keycloak.storage.LegacyStoreMigrateRepresentationEvent
-
- All Implemented Interfaces:
ProviderEvent
public class LegacyStoreMigrateRepresentationEvent extends Object implements ProviderEvent
Event for notifying legacy store, so it can do migrations on the representation as needed. CAUTION: This event is exceptional as it performs any necessary modificaton of the representation. This will be removed once the legacy store has been removed.
-
-
Constructor Summary
Constructors Constructor Description LegacyStoreMigrateRepresentationEvent(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
fire(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)
RealmModel
getRealm()
RealmRepresentation
getRep()
KeycloakSession
getSession()
boolean
isSkipUserDependent()
-
-
-
Constructor Detail
-
LegacyStoreMigrateRepresentationEvent
public LegacyStoreMigrateRepresentationEvent(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)
-
-
Method Detail
-
fire
public static void fire(KeycloakSession session, RealmModel realm, RealmRepresentation rep, boolean skipUserDependent)
-
getSession
public KeycloakSession getSession()
-
getRealm
public RealmModel getRealm()
-
getRep
public RealmRepresentation getRep()
-
isSkipUserDependent
public boolean isSkipUserDependent()
-
-