44 references to Security
dotnet-svcutil-lib (44)
CodeDomFixup\EndpointSelector.cs (4)
96if (ws2007FederationHttpBinding != null && ws2007FederationHttpBinding.Security.Mode == WSFederationHttpSecurityMode.Message) 98s_bindingValidationErrors.Add(string.Format(SRServiceModel.UnsupportedSecuritySetting, "Mode", ws2007FederationHttpBinding.Security.Mode)); 103if (wsFederationHttpBinding != null && wsFederationHttpBinding.Security.Mode == WSFederationHttpSecurityMode.Message) 105s_bindingValidationErrors.Add(string.Format(SRServiceModel.UnsupportedSecuritySetting, "Mode", wsFederationHttpBinding.Security.Mode));
CodeDomFixup\MethodCreationHelper.cs (38)
547if (wsFedHttp.Security.Message.IssuerBinding is WSFederationHttpBinding) 562if (wsFedHttp.Security.Message.IssuerBinding != null) 564if (wsFedHttp.Security.Message.IssuerBinding is WS2007FederationHttpBinding ws2007FedHttpIssuer) 568else if (wsFedHttp.Security.Message.IssuerBinding is WSFederationHttpBinding wsFedHttpIssuer) 574AddIssuerBindingConfiguration(statements, wsFedHttp.Security.Message.IssuerBinding); 601new CodePrimitiveExpression(wsFedHttp.Security.Message.IssuerAddress.ToString()))))); 605if (!isIssuerBinding && wsFedHttp.Security.Message.IssuerBinding is WSFederationHttpBinding) 687if (defaultBinding.Security.Mode != wsFedHttp.Security.Mode) 696wsFedHttp.Security.Mode.ToString()))); 699if (defaultBinding.Security.Message.EstablishSecurityContext != wsFedHttp.Security.Message.EstablishSecurityContext) 708new CodePrimitiveExpression(wsFedHttp.Security.Message.EstablishSecurityContext))); 711if (defaultBinding.Security.Message.NegotiateServiceCredential != wsFedHttp.Security.Message.NegotiateServiceCredential) 720new CodePrimitiveExpression(wsFedHttp.Security.Message.EstablishSecurityContext))); 723if (defaultBinding.Security.Message.AlgorithmSuite != wsFedHttp.Security.Message.AlgorithmSuite) 734wsFedHttp.Security.Message.AlgorithmSuite.ToString()))); 751if (ws2007FedHttp.Security.Message.IssuerBinding is WSFederationHttpBinding) 766if (ws2007FedHttp.Security.Message.IssuerBinding != null) 768if (ws2007FedHttp.Security.Message.IssuerBinding is WS2007FederationHttpBinding ws2007FedHttpIssuer) 772else if (ws2007FedHttp.Security.Message.IssuerBinding is WSFederationHttpBinding wsFedHttpIssuer) 778AddIssuerBindingConfiguration(statements, ws2007FedHttp.Security.Message.IssuerBinding); 805new CodePrimitiveExpression(ws2007FedHttp.Security.Message.IssuerAddress.ToString()))))); 809if (!isIssuerBinding && ws2007FedHttp.Security.Message.IssuerBinding is WSFederationHttpBinding) 891if (defaultBinding.Security.Mode != ws2007FedHttp.Security.Mode) 900ws2007FedHttp.Security.Mode.ToString()))); 903if (defaultBinding.Security.Message.EstablishSecurityContext != ws2007FedHttp.Security.Message.EstablishSecurityContext) 912new CodePrimitiveExpression(ws2007FedHttp.Security.Message.EstablishSecurityContext))); 915if (defaultBinding.Security.Message.NegotiateServiceCredential != ws2007FedHttp.Security.Message.NegotiateServiceCredential) 924new CodePrimitiveExpression(ws2007FedHttp.Security.Message.EstablishSecurityContext))); 927if (defaultBinding.Security.Message.AlgorithmSuite != ws2007FedHttp.Security.Message.AlgorithmSuite) 938ws2007FedHttp.Security.Message.AlgorithmSuite.ToString())));
FrameworkFork\System.ServiceModel\System\ServiceModel\WS2007FederationHttpBinding.cs (1)
64return this.Security.CreateMessageSecurity(this.ReliableSession.Enabled, s_WS2007MessageSecurityVersion);
FrameworkFork\System.ServiceModel\System\ServiceModel\WSFederationHttpBinding.cs (1)
207return this.Security.InternalShouldSerialize();