public void setAuthentication(BAuthentication auth) { if (log.isDebugEnabled()) { log.debug("setAuthentication(" + auth + ")"); } getTransport().setAuthentication(new ClientAuthentication(this, auth)); }
internal void setAuthentication(BAuthentication auth) { lock (asyncResultsWaitingForAuthentication) { authentication = auth; asyncResultsWaitingForAuthentication.Clear(); lastAuthenticationException = null; lastAuthenticationTime = new DateTime(0); } }
public BAuthentication getAuthentication() { BAuthentication auth = getTransport().authentication; if (auth != null) { ClientAuthentication clientAuth = (ClientAuthentication)auth; auth = clientAuth.innerAuth; } return(auth); }
public ClientAuthentication(BClient client, BAuthentication innerAuth) { this.client = client; this.innerAuth = innerAuth; }
internal void setAuthentication(BAuthentication auth) { authentication = auth; }