protected override void ApplyConfiguration()
        {
            base.ApplyConfiguration();
            AuthenticationResourceHelper.ConfigureServiceHostUserNameAuth(this);

            string thumbprint = TestHost.CertificateFromFriendlyName(StoreName.My, StoreLocation.LocalMachine, "WCF Bridge - Machine certificate generated by the CertificateManager").Thumbprint;

            this.Credentials.ServiceCertificate.SetCertificate(StoreLocation.LocalMachine,
                                                               StoreName.My,
                                                               X509FindType.FindByThumbprint,
                                                               thumbprint);
        }
 protected override void ApplyConfiguration()
 {
     base.ApplyConfiguration();
     AuthenticationResourceHelper.ConfigureServiceHostUserNameAuth(this);
 }