diff --git a/app/src/main/java/lightcontainer/protocol/rules/reader/SignoutRule.java b/app/src/main/java/lightcontainer/protocol/rules/reader/SignoutRule.java index 2b7a39f..17276ae 100644 --- a/app/src/main/java/lightcontainer/protocol/rules/reader/SignoutRule.java +++ b/app/src/main/java/lightcontainer/protocol/rules/reader/SignoutRule.java @@ -2,13 +2,16 @@ package lightcontainer.protocol.rules.reader; import lightcontainer.domains.client.Context; import lightcontainer.protocol.ProtocolReader; +import lightcontainer.protocol.StandardizedDefinitions; + +import static lightcontainer.protocol.StandardizedDefinitions.CLIENT_SIGN_OUT; /** * Règle demandant la déconnexion du client */ public class SignoutRule extends ProtocolReader { - - private static final String PATTERN = "^SIGNOUT\r\n$"; + //"^SIGNOUT\r\n$" + private static final String PATTERN = CLIENT_SIGN_OUT; public static final String NAME = "SIGNOUT";