Nouvelles Regex : FFE_ERASE_FILE validée
This commit is contained in:
parent
713e930eb9
commit
5d723d9acf
@ -1,11 +1,14 @@
|
|||||||
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_ERASE_FILE;
|
||||||
|
|
||||||
public class EraseFileRule extends ProtocolWriter {
|
public class EraseFileRule extends ProtocolWriter {
|
||||||
|
|
||||||
//"^ERASEFILE ([A-Za-z0-9]{50,200})\r\n$"
|
//"^ERASEFILE ([A-Za-z0-9.]{50,200})\r\n$"
|
||||||
private static final String PATTERN = "^ERASEFILE ([A-Za-z0-9.]{50,200})\r\n$";
|
private static final String PATTERN = FFE_ERASE_FILE;
|
||||||
|
|
||||||
public static String NAME = "ERASEFILE";
|
public static String NAME = "ERASEFILE";
|
||||||
|
|
||||||
|
@ -1,16 +1 @@
|
|||||||
{
|
{"unicast_port":8000,"multicast_ip":"224.66.66.1","multicast_port":15502,"network_interface":"lo","tls":true,"storagePath":"C:\\Users\\ledou\\Documents\\ffe","users":[{"name":"aaaaa","password":"$2a$10$Up/pME2iFKALVSu8/JDpG.8Vc2vidOm99SeVoayCB1th7KHMZ1gq2","aes_key":"4+D3geivckhduP14646nYBb91N71HJj+8uvHFb0su0o=","files":[]}]}
|
||||||
"unicast_port": 8000,
|
|
||||||
"multicast_ip": "224.66.66.1",
|
|
||||||
"multicast_port": 15502,
|
|
||||||
"network_interface": "lo",
|
|
||||||
"tls": true,
|
|
||||||
"storagePath": "C:\\Users\\ledou\\Documents\\ffe",
|
|
||||||
"users": [
|
|
||||||
{
|
|
||||||
"name": "aaaaa",
|
|
||||||
"password": "$2a$10$Up/pME2iFKALVSu8/JDpG.8Vc2vidOm99SeVoayCB1th7KHMZ1gq2",
|
|
||||||
"aes_key": "4+D3geivckhduP14646nYBb91N71HJj+8uvHFb0su0o=",
|
|
||||||
"files": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user