Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to create named HTTP Security policies referenced in the application.properties path matching rules as CDI beans #37017

Conversation

michalvavrik
Copy link
Member

Now that HTTP permissions and policies are configurable at runtime #36874, it makes sense to also allow users to configure named HTTP Security policies as CDI beans. Until now, it was only possible with build items (which this PR deprecates), but that only made sense for configuration properties were also build-time initialized.

@quarkus-bot quarkus-bot bot added area/docstyle issues related for manual docstyle review area/documentation area/vertx labels Nov 10, 2023
@michalvavrik michalvavrik force-pushed the feature/named-runtim-http-security-policies branch 2 times, most recently from 851aba1 to b49eabc Compare November 10, 2023 21:37
Copy link

github-actions bot commented Nov 10, 2023

🙈 The PR is closed and the preview is expired.

This comment has been minimized.

@michalvavrik michalvavrik force-pushed the feature/named-runtim-http-security-policies branch from b49eabc to c47168c Compare November 11, 2023 22:40
Copy link

quarkus-bot bot commented Nov 12, 2023

Failing Jobs - Building c47168c

Status Name Step Failures Logs Raw logs Build scan
✔️ Gradle Tests - JDK 11
Gradle Tests - JDK 11 Windows Build Failures Logs Raw logs

Full information is available in the Build summary check run.

Failures

⚙️ Gradle Tests - JDK 11 Windows #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.CustomManifestArgumentsTest.shouldContainsSpecificManifestProperty line 37 - More details - Source on GitHub

java.lang.AssertionError: 

Expecting actual not to be null

@sberyozkin
Copy link
Member

I believe the gradle test failure is not related

@sberyozkin
Copy link
Member

Thanks

@sberyozkin sberyozkin merged commit e30141d into quarkusio:main Nov 12, 2023
53 of 54 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.6 - main milestone Nov 12, 2023
@michalvavrik michalvavrik deleted the feature/named-runtim-http-security-policies branch November 12, 2023 15:05
@sberyozkin
Copy link
Member

I dropped a new feature label for this PR as it is more like a bug fix I guess, please add it back if you prefer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docstyle issues related for manual docstyle review area/documentation area/vertx
Projects
Development

Successfully merging this pull request may close these issues.

2 participants