Yes it is normal. Basic authentication is known to work, but ServiceSecurityContext is not implemented.
Atsushi Eno (2011/02/16 3:30), augustwest wrote: > I have successfully implemented a very simple self-hosted WCF service using > BasicHttpBinding however I am unable to validate the basic authentication > credentials. In addition, ServiceSecurityContext.Current is always null > when receiving a request. Is this normal? > > My service is implemented as such.... > > BasicHttpBinding basicHttpBinding = new BasicHttpBinding(); > basicHttpBinding.Security.Mode = BasicHttpSecurityMode.Transport; > basicHttpBinding.Security.Transport.ClientCredentialType = > HttpClientCredentialType.Basic; > basicHttpBinding.Security.Transport.ProxyCredentialType = > HttpProxyCredentialType.None; > basicHttpBinding.Security.Transport.Realm = String.Empty; > basicHttpBinding.Security.Message.ClientCredentialType = > BasicHttpMessageCredentialType.Certificate; > basicHttpBinding.Security.Message.AlgorithmSuite = > System.ServiceModel.Security.SecurityAlgorithmSuite.Default; > .... > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
