setAuthenticator

Sets the authenticator to authenticate with a remote target server. Currently, there are two types of the authenticators, BasicAuthenticator and SessionAuthenticator, supported. The default is no authenticator.

Return

this.

Parameters

authenticator

The authenticator.