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

Provide a way to add a custom KeycloakConfigResolver instance for initialization

    Details

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

      Description

      When using the KeycloakOIDCFilter servlet filter a KeycloakConfigResolver is used internally to configure KeyCloak access. Currently only a class for a KeycloakConfigResolver can be defined and no instance.

      Sometimes you want to do something like this:

      KeycloakConfigResolver myCustomResolver = ...
      KeycloakOIDCFilter filter = new KeycloakOIDCFilter(myCustomResolver)
      FilterRegistration.Dynamic keycloakSecurityFilter = servletContext.addFilter(FILTER_NAME, filter);

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sebastienblanc Sebastien Blanc
                  Reporter:
                  hendrikebbers Hendrik Ebbers
                  Tester:
                  Vaclav Muzikar
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: