WCF Authentication using ServiceSecurityContext.Current.PrimaryIdentity.Name

Aug 26, 2008 at 11:30 AM
I am using a web server calling wcf services in an app server on different boxes. In order for the wcf service to authenticate my identity,can I use "ServiceSecurityContext.Current.PrimaryIdentity.Name" to get the identity of the caller across servers? This is the simplest way of wcf authentication I know of.
Or does anyone have any other better ideas?