You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Keycloak SAML adapter subsystem currently references the AttributeDefinition#getAttributeMarshaller method that has been removed in WildFly Core 21.1.0.Final and later.
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 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.
Version
22.0.1
Expected behavior
It should be possible to successfully use the keycloak-saml-adapter-galleon-pack with WildFly 29 and later.
Actual behavior
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.
How to Reproduce?
Using galleon.sh, attempt to provision a WildFly 29 server using the Keycloak SAML adapter feature pack:
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)
Anything else?
I will submit a PR to fix this.
The text was updated successfully, but these errors were encountered:
Before reporting an issue
Area
adapter/jee-saml
Describe the bug
The Keycloak SAML adapter subsystem currently references the
AttributeDefinition#getAttributeMarshaller
method that has been removed in WildFly Core 21.1.0.Final and later.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 subsystem resources:KeycloakSubsystemParser
needs to be updated to make use of theAttributeDefinition#getMarshaller
method instead.Version
22.0.1
Expected behavior
It should be possible to successfully use the
keycloak-saml-adapter-galleon-pack
with WildFly 29 and later.Actual behavior
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.How to Reproduce?
Using
galleon.sh
, attempt to provision a WildFly 29 server using the Keycloak SAML adapter feature pack:Execute the following WildFly CLI commands:
The following error will occur:
Anything else?
I will submit a PR to fix this.
The text was updated successfully, but these errors were encountered: