diff --git a/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/InfinispanClientProcessor.java b/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/InfinispanClientProcessor.java index a52ff559827ff..47a397108eaa1 100644 --- a/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/InfinispanClientProcessor.java +++ b/extensions/infinispan-client/deployment/src/main/java/io/quarkus/infinispan/client/deployment/InfinispanClientProcessor.java @@ -303,6 +303,22 @@ InfinispanPropertiesBuildItem setup(ApplicationArchivesBuildItem applicationArch "org.infinispan.client.hotrod.impl.consistenthash.SegmentConsistentHash") .build()); + // Elytron Classes + String[] elytronClasses = new String[] { + "org.wildfly.security.sasl.plain.PlainSaslClientFactory", + "org.wildfly.security.sasl.scram.ScramSaslClientFactory", + "org.wildfly.security.credential.BearerTokenCredential", + "org.wildfly.security.credential.GSSKerberosCredential", + "org.wildfly.security.credential.KeyPairCredential", + "org.wildfly.security.credential.PasswordCredential", + "org.wildfly.security.credential.PublicKeyCredential", + "org.wildfly.security.credential.SecretKeyCredential", + "org.wildfly.security.credential.SSHCredential", + "org.wildfly.security.credential.X509CertificateChainPrivateCredential", + "org.wildfly.security.credential.X509CertificateChainPublicCredential" + }; + + reflectiveClass.produce(ReflectiveClassBuildItem.builder(elytronClasses).build()); return new InfinispanPropertiesBuildItem(propertiesMap); }