Hi
The security layer is activated before the JAX-RS one so the
authentication related security exceptions (not related to the RBAC
enforcement) can not be caught by the JAX-RS exception mappers. There
is a pending task to wire in Vert.x failure handlers to deal with such
early exceptions.
What you can try now is to disable the proactive authentication:
https://quarkus.io/guides/security-built-in-authentication#proactive-authentication
The `side-effect` of it is that the same authentication failure
exceptions are reported later at the JAX-RS chain level instead.
and register io.quarkus.security.AuthenticationFailedException - the
cause of this exception should be one of those exceptions you are
trying to intercept
Thanks, Sergey
> --
> You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
quarkus-dev...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/quarkus-dev/010c778c-696d-4a8d-ad0b-30faf885d554n%40googlegroups.com.