5.2.4.1. VAS2AuthenticationBackend methods

MethodDescription
__init__(self, serveraddr, use_ssl, pki_cert, pki_ca, ssl_verify_depth) Constructor to initialize a VAS2AuthenticationProvider instance.

Table 5.17. Method summary

Method __init__(self, serveraddr, use_ssl, pki_cert, pki_ca, ssl_verify_depth)

This constructor creates a new VAS2AuthenticationProvider instance that can be used in authentication policies.

Arguments of __init__
pki_ca (cagroup)
Default: None
The name of a trusted CA group. When using SSL, AS must show a certificate signed by a CA that belongs to this group.

pki_cert (certificate)
Default: None
A tuple containing the name of a certificate and a key file. Vela shows this certificate to AS when using SSL.

serveraddr (sockaddr)
Default: n/a
The IP address of this AS instance. AS accepts connections on this address.

ssl_verify_depth (integer)
Default: 3
Specifies the maximum number of CAs in the trust chain when verifying the certificate of Vela.

use_ssl (boolean)
Default: FALSE
Enable this option if Vela communicates with AS using SSL.