Skip to content

Commit 8d7a8c3

Browse files
committed
Sync documentation of main branch
1 parent d2b7836 commit 8d7a8c3

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

_versions/main/guides/resteasy-reactive-migration.adoc

+6
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@ public class ReactiveResource {
155155
The same is true for your third-party libraries.
156156
If they happen to depend on servlets you need to find a migration path for them.
157157

158+
=== Log authentication and authorization failures
159+
160+
The RESTEasy Reactive endpoint security checks are performed before xref:cdi.adoc#interceptors[CDI interceptors] are invoked.
161+
The safest approach to log Quarkus Security authentication exceptions is to ensure that proactive authentication is enabled and to use Vert.x HTTP route failure handlers.
162+
For more information, see the xref:security-proactive-authentication.adoc#customize-auth-exception-responses[Customize authentication exception responses] section of the Proactive authentication guide.
163+
158164
== Client
159165

160166
The Reactive REST Client (`quarkus-rest-client-reactive` and its dependencies) replace the legacy `quarkus-rest-client` but leverage Quarkus' build time processing

_versions/main/guides/security-proactive-authentication.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public class HelloService {
9494
}
9595
----
9696

97+
[[customize-auth-exception-responses]]
9798
== Customize authentication exception responses
9899

99100
You can use Jakarta REST `ExceptionMapper` to capture Quarkus Security authentication exceptions such as `io.quarkus.security.AuthenticationFailedException`, for example:

0 commit comments

Comments
 (0)