Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit 0a102ef

Browse files
fix(deps): update dependency io.quarkus.platform:quarkus-bom to v3.8.3 (#208)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [io.quarkus.platform:quarkus-bom](https://togithub.com/quarkusio/quarkus-platform) | `3.6.8` -> `3.8.3` | [![age](https://developer.mend.io/api/mc/badges/age/maven/io.quarkus.platform:quarkus-bom/3.8.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.quarkus.platform:quarkus-bom/3.8.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.quarkus.platform:quarkus-bom/3.6.8/3.8.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.quarkus.platform:quarkus-bom/3.6.8/3.8.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>quarkusio/quarkus-platform (io.quarkus.platform:quarkus-bom)</summary> ### [`v3.8.3`](https://togithub.com/quarkusio/quarkus-platform/compare/3.8.2...3.8.3) [Compare Source](https://togithub.com/quarkusio/quarkus-platform/compare/3.8.2...3.8.3) ### [`v3.8.2`](https://togithub.com/quarkusio/quarkus-platform/compare/3.8.1...3.8.2) [Compare Source](https://togithub.com/quarkusio/quarkus-platform/compare/3.8.1...3.8.2) ### [`v3.8.1`](https://togithub.com/quarkusio/quarkus-platform/compare/3.7.4...3.8.1) [Compare Source](https://togithub.com/quarkusio/quarkus-platform/compare/3.7.4...3.8.1) ### [`v3.7.4`](https://togithub.com/quarkusio/quarkus-platform/compare/3.7.3...3.7.4) [Compare Source](https://togithub.com/quarkusio/quarkus-platform/compare/3.7.3...3.7.4) ### [`v3.7.3`](https://togithub.com/quarkusio/quarkus-platform/compare/3.7.2...3.7.3) [Compare Source](https://togithub.com/quarkusio/quarkus-platform/compare/3.7.2...3.7.3) ### [`v3.7.2`](https://togithub.com/quarkusio/quarkus-platform/compare/3.7.1...3.7.2) [Compare Source](https://togithub.com/quarkusio/quarkus-platform/compare/3.7.1...3.7.2) ### [`v3.7.1`](https://togithub.com/quarkusio/quarkus-platform/compare/3.6.9...3.7.1) [Compare Source](https://togithub.com/quarkusio/quarkus-platform/compare/3.6.9...3.7.1) ### [`v3.6.9`](https://togithub.com/quarkusio/quarkus-platform/compare/3.6.8...3.6.9) [Compare Source](https://togithub.com/quarkusio/quarkus-platform/compare/3.6.8...3.6.9) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/agile-lab-dev/whitefox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Antonio Murgia <antonio.murgia@agilelab.it>
1 parent ca73886 commit 0a102ef

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ org.gradle.caching=true
44
org.gradle.parallel=true
55
quarkusPlatformArtifactId=quarkus-bom
66
quarkusPlatformGroupId=io.quarkus.platform
7-
quarkusPlatformVersion=3.6.8
7+
quarkusPlatformVersion=3.8.3
88
quarkusPluginId=io.quarkus
9-
quarkusPluginVersion=3.6.8
9+
quarkusPluginVersion=3.8.3
1010
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

server/app/src/main/java/io/whitefox/api/server/auth/WhitefoxHttpAuthenticator.java

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@
55
import io.quarkus.security.identity.IdentityProviderManager;
66
import io.quarkus.security.identity.SecurityIdentity;
77
import io.quarkus.security.identity.request.AnonymousAuthenticationRequest;
8+
import io.quarkus.security.spi.runtime.AuthenticationFailureEvent;
9+
import io.quarkus.security.spi.runtime.AuthenticationSuccessEvent;
810
import io.quarkus.vertx.http.runtime.security.HttpAuthenticationMechanism;
911
import io.quarkus.vertx.http.runtime.security.HttpAuthenticator;
10-
import io.quarkus.vertx.http.runtime.security.PathMatchingHttpSecurityPolicy;
1112
import io.smallrye.mutiny.Uni;
1213
import io.vertx.ext.web.RoutingContext;
1314
import jakarta.annotation.Priority;
15+
import jakarta.enterprise.event.Event;
1416
import jakarta.enterprise.inject.Alternative;
1517
import jakarta.enterprise.inject.Instance;
18+
import jakarta.enterprise.inject.spi.BeanManager;
1619
import jakarta.inject.Inject;
1720
import jakarta.inject.Singleton;
21+
import org.eclipse.microprofile.config.inject.ConfigProperty;
1822

1923
/**
2024
* A custom {@link HttpAuthenticator}. This authenticator that performs the following main duties:
@@ -37,10 +41,20 @@ public class WhitefoxHttpAuthenticator extends HttpAuthenticator {
3741
public WhitefoxHttpAuthenticator(
3842
WhitefoxAuthenticationConfig config,
3943
IdentityProviderManager identityProviderManager,
40-
Instance<PathMatchingHttpSecurityPolicy> pathMatchingPolicy,
44+
Event<AuthenticationFailureEvent> authFailureEvent,
45+
Event<AuthenticationSuccessEvent> authSuccessEvent,
46+
BeanManager beanManager,
4147
Instance<HttpAuthenticationMechanism> httpAuthenticationMechanism,
42-
Instance<IdentityProvider<?>> providers) {
43-
super(identityProviderManager, pathMatchingPolicy, httpAuthenticationMechanism, providers);
48+
Instance<IdentityProvider<?>> providers,
49+
@ConfigProperty(name = "quarkus.security.events.enabled") boolean securityEventsEnabled) {
50+
super(
51+
identityProviderManager,
52+
authFailureEvent,
53+
authSuccessEvent,
54+
beanManager,
55+
httpAuthenticationMechanism,
56+
providers,
57+
securityEventsEnabled);
4458
this.identityProvider = identityProviderManager;
4559
this.config = config;
4660
authEnabled = config.enabled();

0 commit comments

Comments
 (0)