27 references to Security
dotnet-svcutil-lib (27)
CodeDomFixup\EndpointSelector.cs (2)
57if (wsHttpBinding.Security.Mode == SecurityMode.Message) 59s_bindingValidationErrors.Add(string.Format(SRServiceModel.UnsupportedSecuritySetting, "Mode", wsHttpBinding.Security.Mode));
CodeDomFixup\MethodCreationHelper.cs (24)
340if (defaultBinding.Security.Mode != wsHttp.Security.Mode) 349wsHttp.Security.Mode.ToString()))); 352if (defaultBinding.Security.Transport.ClientCredentialType != wsHttp.Security.Transport.ClientCredentialType) 363wsHttp.Security.Transport.ClientCredentialType.ToString()))); 366if (defaultBinding.Security.Message.ClientCredentialType != wsHttp.Security.Message.ClientCredentialType) 377wsHttp.Security.Message.ClientCredentialType.ToString()))); 380if (defaultBinding.Security.Message.EstablishSecurityContext != wsHttp.Security.Message.EstablishSecurityContext) 389new CodePrimitiveExpression(wsHttp.Security.Message.EstablishSecurityContext))); 481if (defaultBinding.Security.Mode != ws2007Http.Security.Mode) 490ws2007Http.Security.Mode.ToString()))); 493if (defaultBinding.Security.Transport.ClientCredentialType != ws2007Http.Security.Transport.ClientCredentialType) 504ws2007Http.Security.Transport.ClientCredentialType.ToString()))); 507if (defaultBinding.Security.Message.ClientCredentialType != ws2007Http.Security.Message.ClientCredentialType) 518ws2007Http.Security.Message.ClientCredentialType.ToString()))); 521if (defaultBinding.Security.Message.EstablishSecurityContext != ws2007Http.Security.Message.EstablishSecurityContext) 530new CodePrimitiveExpression(ws2007Http.Security.Message.EstablishSecurityContext)));
FrameworkFork\System.ServiceModel\System\ServiceModel\WS2007HttpBinding.cs (1)
62return this.Security.CreateMessageSecurity(this.ReliableSession.Enabled, s_WS2007MessageSecurityVersion);