Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-25438

Update the Keycloak SAML adapter subsystem to no longer use the AttributeDefinition#getAttributeMarshaller method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 8.0.0.GA-CR1, 8.0.0.GA
    • None
    • Security
    • None

      It's currently not possible to use the keycloak-saml-adapter-galleon-pack with WildFly 29 and later when specifying the configuration required to secure SAML applications via the Keycloak SAML adapter subsystem.

      The Keycloak SAML adapter subsystem currently references the AttributeDefinition#getAttributeMarshaller method that has been removed in WildFly Core 21.1.0.Final and later (see WFCORE-6357).

      This means that attempting to use the keycloak-saml-adapter-galleon-pack with WildFly 29 and later results in the following exception when attempting to add/configure subsystem resources:

      java.lang.NoSuchMethodError: 'org.jboss.as.controller.AttributeMarshaller org.jboss.as.controller.SimpleAttributeDefinition.getAttributeMarshaller()'
      at org.keycloak.keycloak-saml-wildfly-jakarta-subsystem@22.0.1//org.keycloak.subsystem.adapter.saml.extension.KeycloakSubsystemParser.writeSps(KeycloakSubsystemParser.java:501)
      at org.keycloak.keycloak-saml-wildfly-jakarta-subsystem@22.0.1//org.keycloak.subsystem.adapter.saml.extension.KeycloakSubsystemParser.writeSecureDeployment(KeycloakSubsystemParser.java:487)
      at org.keycloak.keycloak-saml-wildfly-jakarta-subsystem@22.0.1//org.keycloak.subsystem.adapter.saml.extension.KeycloakSubsystemParser.writeContent(KeycloakSubsystemParser.java:474)
      

       
      KeycloakSubsystemParser needs to be updated to make use of the AttributeDefinition#getMarshaller method instead.

              fjuma1@redhat.com Farah Juma
              fjuma1@redhat.com Farah Juma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: