示例#1
0
 public void setAuthentication(BAuthentication auth)
 {
     if (log.isDebugEnabled())
     {
         log.debug("setAuthentication(" + auth + ")");
     }
     getTransport().setAuthentication(new ClientAuthentication(this, auth));
 }
示例#2
0
 internal void setAuthentication(BAuthentication auth)
 {
     lock (asyncResultsWaitingForAuthentication)
     {
         authentication = auth;
         asyncResultsWaitingForAuthentication.Clear();
         lastAuthenticationException = null;
         lastAuthenticationTime      = new DateTime(0);
     }
 }
示例#3
0
        public BAuthentication getAuthentication()
        {
            BAuthentication auth = getTransport().authentication;

            if (auth != null)
            {
                ClientAuthentication clientAuth = (ClientAuthentication)auth;
                auth = clientAuth.innerAuth;
            }
            return(auth);
        }
示例#4
0
 public ClientAuthentication(BClient client, BAuthentication innerAuth)
 {
     this.client    = client;
     this.innerAuth = innerAuth;
 }
示例#5
0
 internal void setAuthentication(BAuthentication auth)
 {
     authentication = auth;
 }