Skip to content

Commit b0be8f0

Browse files
Security doc fix: Broken link and bad code snippet
Update docs/src/main/asciidoc/security-proactive-authentication.adoc Co-authored-by: Guillaume Smet <[email protected]>
1 parent c570268 commit b0be8f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/main/asciidoc/security-proactive-authentication.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To disable proactive authentication in Quarkus, set the following attribute in t
2323

2424
[source,xml,options="nowrap",role="white-space-pre"]
2525
----
26-
`quarkus.http.auth.proactive=false`
26+
quarkus.http.auth.proactive=false
2727
----
2828

2929
If you disable proactive authentication, the authentication process runs only when an identity is requested.
@@ -42,7 +42,7 @@ You can still access `SecurityIdentity` synchronously with `public SecurityIdent
4242
The same is also valid for xref:reactive-routes.adoc[Reactive routes] if a route response is synchronous.
4343
====
4444

45-
xref:security-authorization.adoc#standard-security-annotations[Standard security annotations] on CDI beans are not supported on an I/O thread if a non-void secured method returns a value synchronously and proactive authentication is disabled because they need to access `SecurityIdentity`.
45+
xref:security-authorize-web-endpoints-reference.adoc#standard-security-annotations[Standard security annotations] on CDI beans are not supported on an I/O thread if a non-void secured method returns a value synchronously and proactive authentication is disabled because they need to access `SecurityIdentity`.
4646

4747
In the following example, `HelloResource` and `HelloService` are defined.
4848
Any GET request to `/hello` will run on the I/O thread and throw a `BlockingOperationNotAllowedException` exception.

0 commit comments

Comments
 (0)