Skip to content

Commit e468dbf

Browse files
committed
Sync documentation of main branch
1 parent 26167fb commit e468dbf

File tree

3 files changed

+37
-9
lines changed

3 files changed

+37
-9
lines changed

_data/versioned/main/index/quarkus.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ types:
12061206
- csrf
12071207
- http
12081208
extensions:
1209-
- io.quarkus:quarkus-csrf-reactive
1209+
- io.quarkus:quarkus-rest-csrf
12101210
type: guide
12111211
url: /guides/security-csrf-prevention
12121212
- title: Deploying on OpenShift

_versions/main/guides/gradle-tooling.adoc

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,5 +814,33 @@ action must be declared as an input of the task.
814814

815815
The Quarkus Gradle plugin works with builds that have the
816816
link:https://docs.gradle.org/current/userguide/configuration_cache.html[Gradle's configuration cache] enabled, but
817-
the configuration cache is disabled for the Quarkus tasks. This means, that the Quarkus plugin does not break such
817+
the configuration cache is disabled for some of the Quarkus tasks. This means, that the Quarkus plugin does not break such
818818
Gradle builds.
819+
The current state of compatibility is shown in the following table:
820+
821+
[cols="2","4"]
822+
|====
823+
|Quarkus task|Configuration Cache Compatibility
824+
|`quarkusGenerateCode` |✅
825+
|`quarkusGenerateCodeDev`|✅
826+
|`quarkusGenerateCodeTests`|✅
827+
|`quarkusDependenciesBuild`|✅
828+
|`quarkusAppPartsBuild`|✅
829+
|`quarkusShowEffectiveConfig`|✅
830+
|`quarkusBuild`|✅
831+
|`quarkusDev`|❌
832+
|`quarkusRun`|❌
833+
|`quarkusRemoteDev`|❌
834+
|`quarkusTest`|❌
835+
|`quarkusGoOffline`|❌
836+
|`quarkusInfo`|❌
837+
|`quarkusUpdate`|❌
838+
|`imageBuild`|❌
839+
|`imagePush`|❌
840+
|`deploy`|❌
841+
|`listExtensions`|❌
842+
|`listCategories`|❌
843+
|`listPlatforms`|❌
844+
|`addExtension`|❌
845+
|`removeExtension`|❌
846+
|====

_versions/main/guides/security-csrf-prevention.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ https://github.com/quarkusio/quarkus/tree/main/docs/src/main/asciidoc
77
include::_attributes.adoc[]
88
:categories: security
99
:topics: security,csrf,http
10-
:extensions: io.quarkus:quarkus-csrf-reactive
10+
:extensions: io.quarkus:quarkus-rest-csrf
1111

1212
https://owasp.org/www-community/attacks/csrf[Cross-Site Request Forgery (CSRF)] is an attack that forces an end user to execute unwanted actions on a web application in which they are currently authenticated.
1313

@@ -24,15 +24,15 @@ First, we need a new project.
2424
Create a new project with the following command:
2525

2626
:create-app-artifact-id: security-csrf-prevention
27-
:create-app-extensions: csrf-reactive
27+
:create-app-extensions: rest-csrf
2828
include::{includes}/devtools/create-app.adoc[]
2929

30-
This command generates a project which imports the `csrf-reactive` extension.
30+
This command generates a project which imports the `rest-csrf` extension.
3131

32-
If you already have your Quarkus project configured, you can add the `csrf-reactive` extension
32+
If you already have your Quarkus project configured, you can add the `rest-csrf` extension
3333
to your project by running the following command in your project base directory:
3434

35-
:add-extension-extensions: csrf-reactive
35+
:add-extension-extensions: rest-csrf
3636
include::{includes}/devtools/extension-add.adoc[]
3737

3838
This will add the following to your build file:
@@ -42,14 +42,14 @@ This will add the following to your build file:
4242
----
4343
<dependency>
4444
<groupId>io.quarkus</groupId>
45-
<artifactId>quarkus-csrf-reactive</artifactId>
45+
<artifactId>quarkus-rest-csrf</artifactId>
4646
</dependency>
4747
----
4848

4949
[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"]
5050
.build.gradle
5151
----
52-
implementation("io.quarkus:quarkus-csrf-reactive")
52+
implementation("io.quarkus:quarkus-rest-csrf")
5353
----
5454

5555
Next, let's add a `csrfToken.html` Qute template producing an HTML form in the `src/main/resources/templates` folder:

0 commit comments

Comments
 (0)