From 3769883f36df195cc940aabe5fb4f824fa75aac0 Mon Sep 17 00:00:00 2001 From: G TanSndil <72496065+GtanSndil@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:46:17 +0100 Subject: [PATCH] Update RmesStampsImpl.java (#847) * Update RmesStampsImpl.java add stamp for SSM * Update RmesStampsImpl.java add import --- .../services/authentication/stamps/RmesStampsImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/fr/insee/rmes/external/services/authentication/stamps/RmesStampsImpl.java b/src/main/java/fr/insee/rmes/external/services/authentication/stamps/RmesStampsImpl.java index 9e39c9182..e41335ede 100644 --- a/src/main/java/fr/insee/rmes/external/services/authentication/stamps/RmesStampsImpl.java +++ b/src/main/java/fr/insee/rmes/external/services/authentication/stamps/RmesStampsImpl.java @@ -5,6 +5,7 @@ import fr.insee.rmes.config.auth.user.User; import fr.insee.rmes.exceptions.RmesException; import org.springframework.stereotype.Service; +import fr.insee.rmes.config.auth.security.OpenIDConnectSecurityContext; import java.util.List; @@ -279,7 +280,8 @@ public record RmesStampsImpl(UserDecoder userDecoder) implements StampsService { "SSM-DSED", "SSM-DESSI", "SSM-SIES", - "SSM-DEPS" + "SSM-DEPS", + OpenIDConnectSecurityContext.TIMBRE_ANONYME );