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 new annotation @AuthorizationPolicy does not work combined with kotlin suspend functions. Event worse: the error message makes it hard to debug.
Expected behavior
It simply works: REST calls to suspend functions are handled and the authorization policies are applied/
Actual behavior
REST calls run into a next to useless error:
[error]: Build step io.quarkus.vertx.http.deployment.HttpSecurityProcessor#gatherAuthorizationPolicyInstances threw an exception: java.lang.IllegalArgumentException: Not a class
Describe the bug
The new annotation @AuthorizationPolicy does not work combined with kotlin suspend functions. Event worse: the error message makes it hard to debug.
Expected behavior
It simply works: REST calls to suspend functions are handled and the authorization policies are applied/
Actual behavior
REST calls run into a next to useless error:
[error]: Build step io.quarkus.vertx.http.deployment.HttpSecurityProcessor#gatherAuthorizationPolicyInstances threw an exception: java.lang.IllegalArgumentException: Not a class
How to Reproduce?
check out this example code: https://github.com/mschirmacher/QuarkusAuthorizationPolicySuspendBug
The gradle build demonstrates the error
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: