From b5db3d91eaddd0b290f18ee01ba6fe5b02c95df2 Mon Sep 17 00:00:00 2001 From: Maximilien LEDOUX Date: Sat, 19 Mar 2022 13:57:25 +0100 Subject: [PATCH] =?UTF-8?q?Nouvelles=20Regex=20:=20FFE=5FSIGN=5FERROR=20va?= =?UTF-8?q?lid=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lightcontainer/protocol/rules/writer/SignErrorRule.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/lightcontainer/protocol/rules/writer/SignErrorRule.java b/app/src/main/java/lightcontainer/protocol/rules/writer/SignErrorRule.java index ca02cc6..394ca0b 100644 --- a/app/src/main/java/lightcontainer/protocol/rules/writer/SignErrorRule.java +++ b/app/src/main/java/lightcontainer/protocol/rules/writer/SignErrorRule.java @@ -1,13 +1,16 @@ package lightcontainer.protocol.rules.writer; import lightcontainer.protocol.ProtocolWriter; +import lightcontainer.protocol.StandardizedDefinitions; + +import static lightcontainer.protocol.StandardizedDefinitions.FFE_SIGN_ERROR; /** * Règle renvoyée au client lorsque l'authentification a échoué. */ public class SignErrorRule extends ProtocolWriter { //"^SIGN_ERROR\r\n$" - private static final String PATTERN = "^SIGN_ERROR\r\n$"; + private static final String PATTERN = FFE_SIGN_ERROR; public static final String NAME = "SIGN_ERROR";