Exemplo n.º 1
0
 internal void InitializeFrom(XmlRpcHttpSecurity security)
 {
     if (security == null)
     {
         throw new ArgumentNullException("security");
     }
     this.Mode = security.Mode;
     this.Transport.ClientCredentialType = security.ClientCredentialType;
     this.Transport.ProxyCredentialType  = security.ProxyCredentialType;
     this.Transport.Realm = security.Realm;
 }
Exemplo n.º 2
0
 // Methods
 internal void ApplyConfiguration(XmlRpcHttpSecurity security)
 {
     if (security == null)
     {
         throw new ArgumentNullException("security");
     }
     security.Mode = this.Mode;
     security.ClientCredentialType = this.Transport.ClientCredentialType;
     security.ProxyCredentialType  = this.Transport.ProxyCredentialType;
     security.Realm = this.Transport.Realm;
 }
Exemplo n.º 3
0
 public XmlRpcHttpBinding(XmlRpcHttpSecurityMode securityMode)
 {
     this.security = new XmlRpcHttpSecurity();
     this.Initialize();
     this.security.Mode = securityMode;
 }
Exemplo n.º 4
0
 private XmlRpcHttpBinding(XmlRpcHttpSecurity security)
 {
     this.security = new XmlRpcHttpSecurity();
     this.Initialize();
     this.security = security;
 }