5.2.3. Class AuthenticationProvider

The authentication provider is an intermediate layer that mediates between Vela and the authentication backend (e.g., a user database) during connection authentication - Vela itself does not directly communicate with the database.

Example 5.10. A sample authentication provider

The following example defines an authentication provider that uses the VAS2AuthenticationBackend backend.

AuthenticationProvider(name="demo_authentication_provider", backend=VAS2AuthenticationBackend(serveraddr=SockAddrInet('192.168.10.10', 1317), use_ssl=TRUE, ssl_verify_depth=3, pki_cert=("/etc/key.d/VAS_certificate/cert.pem", "/etc/key.d/VAS_certificate/key.pem"), pki_ca=("/etc/ca.d/groups/demo_trusted_group/certs/", "/etc/ca.d/groups/demo_trusted_group/crls/")))