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
java.lang.UnsupportedOperationException: retrieving all roles not supported when JAX-RS security context has been replaced at io.quarkus.resteasy.runtime.SecurityContextFilter$1.getRoles(SecurityContextFilter.java:64) at io.quarkus.security.runtime.SecurityIdentityProxy.getRoles(SecurityIdentityProxy.java:34)
It should be possible to propagate the principal name, without throwing the exception.
Describe the bug
If using Custom Jakarta REST SecurityContext and quarkus.otel.traces.eusp.enabled=true, then we get the following exception:
java.lang.UnsupportedOperationException: retrieving all roles not supported when JAX-RS security context has been replaced at io.quarkus.resteasy.runtime.SecurityContextFilter$1.getRoles(SecurityContextFilter.java:64) at io.quarkus.security.runtime.SecurityIdentityProxy.getRoles(SecurityIdentityProxy.java:34)
It should be possible to propagate the principal name, without throwing the exception.
By the way, the property quarkus.otel.traces.eusp.enabled is documented in https://quarkus.io/blog/quarkus-3-3-0-released/ but not in https://quarkus.io/guides/opentelemetry#configuration-reference.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
3.8.3
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: