Interface PartialImport<T>

    • Method Detail

      • removeOverwrites

        void removeOverwrites​(RealmModel realm,
                              KeycloakSession session)
        Delete resources that will be overwritten. This is done separately so that it can be called for all resource types before calling all the doImports. It was found that doing delete/add per resource causes errors because of cascading deletes.
        Parameters:
        realm - Realm to be imported into.
        session - The KeycloakSession