Method | Description |
---|---|
parse_connection_name(self, conn_name) | Method to make decisions based on the username. |
Table 4.61. Method summary
This function is invoked right at the start of the
session, just before connecting to the server. At this
time all attributes are configured and the argument
conn_name
is set to the default
username provided by the client.
This method shall return one of the following:
None: Leave everything unchanged.
A string: Change the username to the one specified in the string.
A tuple: Change the username, the server name and the server port. The parameters of the tuple are optional from the right. Any parameter may be set to
None
or0
to leave the original value unchanged.
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu