Open KaeYan93 opened 10 months ago
The reproducer can be downloaded here. https://drive.google.com/file/d/16zOYRFkHMftVYNoaj3dQdYz8KSRx8Gku/view?usp=sharing
Hi can you please share your graalvm version, and OS with architecture, and steps you used to run the app ?
Graalvm JDK: v17.0.9 OS: Windows 10 Architecture: x64
@KaeYan93 can you please share the steps to reproduce the issue
The reproducer is: https://drive.google.com/file/d/16zOYRFkHMftVYNoaj3dQdYz8KSRx8Gku/view?usp=sharing
The steps is: $ cd testfeature\parent\starter $ mvnw native:compile -Pnative $ cd target $ starter.exe
Upon calling the REST API GET http://localhost:8080/hello, with Authorization header, Basic, user: user, password: password, the output will show that the instance is null.
Hi,
I have encountered the issue that the
AuthenticationManager
instance from Spring Boot Security is always null. Note that this issue will not happen when it is built as jar. My application is using this instance to authenticate user login.I have a reproducer to reproduce this issue, the below examples are from reproducer. This is how the
AuthenticationManager
is included in the class.This is how it is being configured.