Method | Description |
---|---|
parse_connection_name(self, conn_name) | Method to make decisions based on the username. |
Table 4.62. 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 May 30, 2024
© BalaSys IT Ltd.
Send your comments to support@balasys.hu