Class ImportRealmFromRepresentationEvent

java.lang.Object
org.keycloak.storage.ImportRealmFromRepresentationEvent
All Implemented Interfaces:
ProviderEvent

@Deprecated public class ImportRealmFromRepresentationEvent extends Object implements ProviderEvent
Deprecated.
Event to trigger that will complete the import for a given realm representation.

This event was created as the import of a JSON via the UI/REST API can be called using a JSON representation that contains only the name of the realm and if it is enabled.

In the future, this might not be needed if this is done when the legacy store migration is complete and the functionality is bundled within the map storage.

Author:
Alexander Schwartz
  • Constructor Details

    • ImportRealmFromRepresentationEvent

      public ImportRealmFromRepresentationEvent(KeycloakSession session, org.keycloak.representations.idm.RealmRepresentation realmRepresentation)
      Deprecated.
  • Method Details

    • fire

      public static RealmModel fire(KeycloakSession session, org.keycloak.representations.idm.RealmRepresentation rep)
      Deprecated.
    • getSession

      public KeycloakSession getSession()
      Deprecated.
    • getRealmRepresentation

      public org.keycloak.representations.idm.RealmRepresentation getRealmRepresentation()
      Deprecated.
    • setRealmModel

      public void setRealmModel(RealmModel realmModel)
      Deprecated.
    • getRealmModel

      public RealmModel getRealmModel()
      Deprecated.