Skip to content

Commit 2f08402

Browse files
committed
Sync web site with Quarkus documentation
1 parent ec2c573 commit 2f08402

2 files changed

Lines changed: 19 additions & 6 deletions

File tree

_versions/3.27/guides/_attributes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Common attributes.
22
// --> No blank lines (it ends the document header)
33
:project-name: Quarkus
4-
:quarkus-version: 3.27.3
4+
:quarkus-version: 3.27.3.1
55
:quarkus-platform-groupid: io.quarkus.platform
66
// .
77
:maven-version: 3.9.11

_versions/3.27/guides/security-authorize-web-endpoints-reference.adoc

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,38 @@ include::_attributes.adoc[]
1313
Quarkus incorporates a pluggable web security layer.
1414
When security is active, the system performs a permission check on all HTTP requests to determine if they should proceed.
1515

16-
[NOTE]
17-
====
18-
If you use Jakarta RESTful Web Services, consider using `quarkus.security.jaxrs.deny-unannotated-endpoints` or `quarkus.security.jaxrs.default-roles-allowed` to set default security requirements instead of HTTP path-level matching because annotations can override these properties on an individual endpoint.
19-
====
20-
2116
Authorization is based on user roles that the security provider provides.
2217
To customize these roles, a `SecurityIdentityAugmentor` can be created, see
2318
xref:security-customization.adoc#security-identity-customization[Security Identity Customization].
2419

2520
[[authorization-using-configuration]]
2621
== Authorization using configuration
2722

23+
[NOTE]
24+
====
25+
If you work with Jakarta RESTful Web Services (JAX-RS) and need to set default security requirements, consider using <<standard-security-annotations>> and `quarkus.security.jaxrs.deny-unannotated-endpoints` or `quarkus.security.jaxrs.default-roles-allowed` properties instead of the HTTP security policy path-level matching because the security annotations can override these properties on an individual JAX-RS resource or method level.
26+
====
27+
2828
Permissions are defined in the Quarkus configuration by permission sets, each specifying a policy for access control.
2929

3030
[NOTE]
3131
====
3232
When a security policy's `paths` property contains the most specific path that matches the current request path, it takes precedence over other security policies with matching paths and is said to win.
3333
====
3434

35+
[NOTE]
36+
====
37+
Configured HTTP security policy must not contain a semicolon ';' character in its `paths` property.
38+
Use <<custom-http-security-policy>> when a security policy decision depends on a presence of certain matrix parameters in the request path.
39+
====
40+
41+
[IMPORTANT]
42+
====
43+
Be careful with creating complex, possibly overlapping HTTP security policy path expressions.
44+
Make sure your HTTP policy configuration is thoroughly tested.
45+
If you work with Jakarta RESTful Web Services (JAX-RS) and need to create complex security policies, consider using <<standard-security-annotations>> instead.
46+
====
47+
3548
.{project-name} policies summary
3649
[options="header"]
3750
|===

0 commit comments

Comments
 (0)