Method | Description |
---|---|
closedByAbort(self) | Function called by the proxy core when an abort has been occured. |
config(self) | Function called by the proxy core to initialize the proxy instance. |
connectServer(self) | Function called by the proxy instance to establish the server-side connection. |
getCredentials(self, method, username, domain, target, port) | Function called when proxy requires credentials for server side authentication. |
invalidPolicyCall(self) | Invalid policy function called. |
setServerAddress(self, host, port) | Function called by the proxy instance to set the address of the destination server. |
setServerSideEncryption(self) | Function called by the proxy instance to set up the server side encryption parameters dynamically. |
userAuthenticated(self, entity, groups, auth_info) | Function called when inband authentication is successful. |
Table 5.86. Method summary
This function is called when a callback gives abort or no result. It simply sets a flag that will be used for logging the reason of the proxy's ending.
This function is called during proxy startup. It sets the attributes of the proxy instance according to the configuration of the proxy.
This function is called to establish the server-side connection.
The function either connects a proxy to the destination server,
or an embedded proxy to its parent proxy. The proxy may set the
address of the destination server using the setServerAddress
function.
The connectServer
function calls the chainer
specified in the service definition to connect to the remote server
using the host name and port parameters.
The connectServer
function returns the descriptor
of the server-side data stream.
The proxy instance calls this function to
retrieve authentication credentials for authentication method
method
and the target user username
.
This function is called when invalid policy function has been called.
The proxy instance calls this function to set the
address of the destination server.
This function attempts to resolve the hostname of the server using the DNS;
the result is stored in the session.server_address
parameter.
The address of the server may be modified later by the router of the service. See
Section 5.13, Module Router for details.
Note |
---|
The |
Function called by the proxy instance when the encryption scenario is dynamic (eg.: DynamicServerEncryption) to set up the server side encryption parameters. It should return with a DynamicServerEncryptionServerParams if DynamicServerEncryption scenario used otherwise with None.
This method unconditionally raises a NotImplementedError exception to indicate that it must be overridden by descendant classes like 'Proxy'.
The proxy instance calls this function to
indicate that the inband authentication was successfully
performed. The name of the client is stored in the
entity
parameter.
© 2021 BalaSys IT Security.
Send your comments to support@balasys.hu