Skip to content

Commit

Permalink
Update docs/src/main/asciidoc/security-authentication-mechanisms.adoc
Browse files Browse the repository at this point in the history
Co-authored-by: Rostislav Svoboda <rsvoboda@redhat.com>
  • Loading branch information
sberyozkin and rsvoboda authored Apr 3, 2024
1 parent 7fceeeb commit de7ebda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ X509Certificate certificate = credential.getCertificate();

The information from the client certificate can be used to add roles to Quarkus `SecurityIdentity`.

You can add new roles to `SecurityIdentity` after checking a client certificate's common name(CN) attribute.
You can add new roles to `SecurityIdentity` after checking a client certificate's common name (CN) attribute.
The easiest way to add new roles is to use a certificate attribute to role mapping feature.

For example, you can update the properties shown in the section which introduces <<mutual-tls>> as follows:

Check warning on line 280 in docs/src/main/asciidoc/security-authentication-mechanisms.adoc

View workflow job for this annotation

GitHub Actions / Linting with Vale

[vale] reported by reviewdog 🐶 [Quarkus.TermsSuggestions] Depending on the context, consider using ', which (non restrictive clause preceded by a comma)' or 'that (restrictive clause without a comma)' rather than 'which'. Raw Output: {"message": "[Quarkus.TermsSuggestions] Depending on the context, consider using ', which (non restrictive clause preceded by a comma)' or 'that (restrictive clause without a comma)' rather than 'which'.", "location": {"path": "docs/src/main/asciidoc/security-authentication-mechanisms.adoc", "range": {"start": {"line": 280, "column": 64}}}, "severity": "INFO"}
Expand Down

0 comments on commit de7ebda

Please sign in to comment.