From e22e9c9210cb561fc6062ff5b1048e64cdc85c36 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 9 Feb 2023 06:48:55 +0000 Subject: wwan: T3622: add constraint for username/password CLI nodes - Username is up to 128 alphanumerical characters, -, _, #, and @ - Password is limited to ASCII characters only, with a total lenght of 128 --- interface-definitions/include/interface/authentication.xml.i | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'interface-definitions/include/interface') diff --git a/interface-definitions/include/interface/authentication.xml.i b/interface-definitions/include/interface/authentication.xml.i index c097ca9dd..7d8352f2e 100644 --- a/interface-definitions/include/interface/authentication.xml.i +++ b/interface-definitions/include/interface/authentication.xml.i @@ -11,6 +11,10 @@ txt Username used for connection + + [[:alnum:]][-_#@[:alnum:]]{0,127} + + Username is limited to alphanumerical characters, -, _, #, and @ with a total lenght of 128 @@ -20,6 +24,10 @@ txt Password used for connection + + [[:ascii:]]{1,128} + + Password is limited to ASCII characters only, with a total lenght of 128 -- cgit v1.2.3