-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native server fails to build due to Elytron Credential unsupported combination #44
Comments
Details on the work required on the Elytron Quarkus integration can be found in ELY-2064. |
One important detail: Infinispan Quarkus server could decide to implement its own substitutions if it knows what keys types are possible here. Moreover, if none of those keys will ever require reflection access to clone or copy constructor (see |
This is a visual representation of the paths shown as text in the description. It's using a slightly modified version of the PR here. The node at the bottom is the |
That's the final iteration of my work here applied to this issue. I've added a display name that has single letter package name, with upper case letters of camel case class names and method name. The other interesting thing is that the graph was produced with just one query like this (credit @michael-simons)
A query like Note the selected node is the Infinispan node. See at the bottom of screenshot for more details. |
…mbination infinispan#44 Co-authored-by: Galder Zamarreño <[email protected]>
…mbination #44 Co-authored-by: Galder Zamarreño <[email protected]>
Changes in introduced by ISPN-12101 are causing the native server to fail to build:
This has been cause as a result of 2 things coming together:
org.wildfly.security.credential.SecretKeyCredential
,org.wildfly.security.credential.KeyPairCredential
andorg.wildfly.security.credential.X509CertificateChainPrivateCredential
. These are referenced from this calls:Those types have a clone method that invokes
org.wildfly.security.key.KeyUtil.cloneKey
and down that path you end up trying to use method handles. However, this alone is not enough for the close world analysis to decipher if clone is in use...A simple workaround, until Elytron has support for cloning keys in native, or GraalVM implements support for
MethodHandle
, would be to avoid using the genericclone()
.I will create an Elytron issue shortly, with a potential solution for their Quarkus integration.
The text was updated successfully, but these errors were encountered: