Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-1355

Make admin requests to have RealmModel and ClientModel available in KeycloakContext

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.0.Final
    • Fix Version/s: None
    • Component/s: Admin - Console
    • Labels:
      None

      Description

      We can make admin requests to have RealmModel and ClientModel
      available in KeycloakContext (currently is null). This will help that SPIs (like UserFederationMapper SPI) can use them from KeycloakContext instead of passing the realm or client instance to all methods.

      We can possibly set RealmModel in RealmsAdminResource.getRealmAdmin . Similarly ClientModel can be set later before ClientResource is instantiated.

        Attachments

          Activity

            People

            Assignee:
            mposolda Marek Posolda
            Reporter:
            mposolda Marek Posolda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: