summaryrefslogtreecommitdiff
path: root/interface-definitions/include/stunnel/protocol-options.xml.i
blob: 2f020287541eac4d0a1d37f63ec5f9ff39c854a2 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!-- include start from stunel/protocol-options.xml.i -->
<node name="options">
  <properties>
    <help>Advanced protocol options</help>
  </properties>
  <children>
    <leafNode name="authentication">
      <properties>
        <help>Authentication type for the protocol negotiations</help>
          <completionHelp>
            <list>basic ntlm plain login</list>
          </completionHelp>
          <valueHelp>
            <format>basic</format>
            <description>The default 'connect' authentication type</description>
          </valueHelp>
          <valueHelp>
            <format>ntlm</format>
            <description>Supported authentication types for the 'connect' protocol</description>
          </valueHelp>
          <valueHelp>
            <format>plain</format>
            <description>The default 'smtp' authentication type</description>
          </valueHelp>
          <valueHelp>
            <format>login</format>
            <description>Supported authentication types for the 'smtp' protocol</description>
          </valueHelp>
          <constraint>
            <regex>(basic|ntlm|plain|login)</regex>
          </constraint>
      </properties>
    </leafNode>
    <leafNode name="domain">
      <properties>
        <help>Domain for the 'connect' protocol.</help>
        <valueHelp>
          <format>domain</format>
          <description>domain</description>
        </valueHelp>
        <constraint>
          <validator name="fqdn"/>
        </constraint>
      </properties>
    </leafNode>
    <node name="host">
      <properties>
        <help>Destination address for the 'connect' protocol</help>
      </properties>
      <children>
        #include <include/stunnel/address.xml.i>
        #include <include/port-number.xml.i>
      </children>
    </node>
    <leafNode name="password">
      <properties>
        <help>Password for the protocol negotiations</help>
        <valueHelp>
          <format>txt</format>
          <description>Authentication password</description>
        </valueHelp>
      </properties>
    </leafNode>
    <leafNode name="username">
      <properties>
        <help>Username for the protocol negotiations</help>
        <valueHelp>
          <format>txt</format>
          <description>Authentication username</description>
        </valueHelp>
      </properties>
    </leafNode>
  </children>
</node>
<!-- include end -->