Add graalvm reachability metadata to sso service #5840
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Describe the feature
Add reachability metadata for service
sso
, namely for the constructor ofSsoProfileCredentialsProviderFactory
.Use Case
GraalVM native image requires reflection hints for code that is only used by reflection.
Proposed Solution
Add a file
reflect-config.json
undersrc/main/resources/META-INF/native-image/software.amazon.awssdk/sso
with:Other Information
Native hints can be provided by the application (e.g., for spring applications, via
@ImportRuntimeHints
), but it's mostly a try-and-error process. Libraries providing metadata simplify the operation of building a native image considerably.Other aws services already provide metadata, see ssooidc.
Acknowledgements
AWS Java SDK version used
2.29.52
JDK version used
21.0.5
Operating System and version
MacOS 15.2
The text was updated successfully, but these errors were encountered: