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

Allow custom SPI Providers to show additional info on Server Info page

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.7.0.CR1
    • Component/s: None
    • Labels:
      None

      Description

      KEYCLOAK-1542 allowed to show additional info from JPA and Mongo DB Providers on System Info page. But current implementation doesn't allow showing additional info from custom providers implementing distinct Keycloak SPIs.
      Reason is because ProviderFactory interfaces forming most of current SPIs are not marked by ServerInfoAwareProviderFactory interface.
      There are two possible ways how to patch this problem:

      1. mark all current SPI factory interfaces by the ServerInfoAwareProviderFactory - probably simpler to do, but drawback is that it will require implementation of new method into all existing providers, and also new SPIs added later must always contain this marker interface which may be forgotten and bring problems in the future
      2. change implementation to accept/detect ServerInfoAwareProviderFactory marker interface on concrete ProviderFactory implementations, not on SPI level interfaces only.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  velias Vlastimil Eliáš
                  Reporter:
                  velias Vlastimil Eliáš
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: