Nouvelles Regex : FFE_SIGN_OK validée

This commit is contained in:
Maximilien LEDOUX 2022-03-19 13:58:28 +01:00
parent b5db3d91ea
commit dccd94c0c6

View File

@ -1,13 +1,16 @@
package lightcontainer.protocol.rules.writer; package lightcontainer.protocol.rules.writer;
import lightcontainer.protocol.ProtocolWriter; import lightcontainer.protocol.ProtocolWriter;
import lightcontainer.protocol.StandardizedDefinitions;
import static lightcontainer.protocol.StandardizedDefinitions.FFE_SIGN_OK;
/** /**
* Règle renvoyée au client lorsque l'authentification a réusie. * Règle renvoyée au client lorsque l'authentification a réusie.
*/ */
public class SignOkRule extends ProtocolWriter { public class SignOkRule extends ProtocolWriter {
//"^SIGN_OK\r\n$" //"^SIGN_OK\r\n$"
private static final String PATTERN = "^SIGN_OK\r\n$"; private static final String PATTERN = FFE_SIGN_OK;
public static final String NAME = "SIGN_OK"; public static final String NAME = "SIGN_OK";