summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/authentication.xml.i
blob: 7d8352f2e580276016f1c5142e9da69dc430b549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!-- include start from interface/authentication.xml.i -->
<node name="authentication">
  <properties>
    <help>Authentication settings</help>
  </properties>
  <children>
    <leafNode name="user">
      <properties>
        <help>User name</help>
        <valueHelp>
          <format>txt</format>
          <description>Username used for connection</description>
        </valueHelp>
        <constraint>
          <regex>[[:alnum:]][-_#@[:alnum:]]{0,127}</regex>
        </constraint>
        <constraintErrorMessage>Username is limited to alphanumerical characters, -, _, #, and @ with a total lenght of 128</constraintErrorMessage>
      </properties>
    </leafNode>
    <leafNode name="password">
      <properties>
        <help>Password</help>
        <valueHelp>
          <format>txt</format>
          <description>Password used for connection</description>
        </valueHelp>
        <constraint>
          <regex>[[:ascii:]]{1,128}</regex>
        </constraint>
        <constraintErrorMessage>Password is limited to ASCII characters only, with a total lenght of 128</constraintErrorMessage>
      </properties>
    </leafNode>
  </children>
</node>
<!-- include end -->