Class ImportRealmFromRepresentationEvent

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

@Deprecated public class ImportRealmFromRepresentationEvent extends Object implements org.keycloak.provider.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 Summary

    Constructors
    Constructor
    Description
    ImportRealmFromRepresentationEvent(org.keycloak.models.KeycloakSession session, org.keycloak.representations.idm.RealmRepresentation realmRepresentation)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.keycloak.models.RealmModel
    fire(org.keycloak.models.KeycloakSession session, org.keycloak.representations.idm.RealmRepresentation rep)
    Deprecated.
     
    org.keycloak.models.RealmModel
    Deprecated.
     
    org.keycloak.representations.idm.RealmRepresentation
    Deprecated.
     
    org.keycloak.models.KeycloakSession
    Deprecated.
     
    void
    setRealmModel(org.keycloak.models.RealmModel realmModel)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.keycloak.provider.ProviderEvent

    getKeycloakSession
  • Constructor Details

    • ImportRealmFromRepresentationEvent

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

    • fire

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

      public org.keycloak.models.KeycloakSession getSession()
      Deprecated.
    • getRealmRepresentation

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

      public void setRealmModel(org.keycloak.models.RealmModel realmModel)
      Deprecated.
    • getRealmModel

      public org.keycloak.models.RealmModel getRealmModel()
      Deprecated.