summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/authentication.xml.i
blob: 4d447f68762c9c5f9504e1e17eb29e1ebcd4873b (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="username">
      <properties>
        <help>Username used for authentication</help>
        <valueHelp>
          <format>txt</format>
          <description>Username</description>
        </valueHelp>
        <constraint>
          <regex>[[:ascii:]]{1,128}</regex>
        </constraint>
        <constraintErrorMessage>Username is limited to ASCII characters only, with a total lenght of 128</constraintErrorMessage>
      </properties>
    </leafNode>
    <leafNode name="password">
      <properties>
        <help>Password used for authentication</help>
        <valueHelp>
          <format>txt</format>
          <description>Password</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 -->