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

Allow adapter subsystem to just inject dependencies

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.2.1.Final
    • Fix Version/s: 2.3.0.CR1
    • Component/s: Adapter - Java
    • Labels:
      None

      Description

      It will be nice if subsystem can just inject dependencies ( KeycloakDependencyProcessor ), but ignore adding subsystem configuration ( KeycloakAdapterConfigDeploymentProcessor ).

      The workaround I used was to add secure-deployment section to standalone.xml with some dummy values, which are mandatory for subsystem. It works, but it's really not too pretty IMO. Something like:

      <secure-deployment name="hawtio.war">
        <resource>does-not-matter</resource>
        <auth-server-url>does-not-matter</auth-server-url>
      </secure-deployment>
      

      What will be nice is to to improve usability for the usecase when you want just inject dependencies, so this will work just fine:

      <secure-deployment name="hawtio.war" />
      

        Gliffy Diagrams

          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: