36 references to WSFederationHttpSecurityMode
dotnet-svcutil-lib (36)
CodeDomFixup\EndpointSelector.cs (2)
96
if (ws2007FederationHttpBinding != null && ws2007FederationHttpBinding.Security.Mode ==
WSFederationHttpSecurityMode
.Message)
103
if (wsFederationHttpBinding != null && wsFederationHttpBinding.Security.Mode ==
WSFederationHttpSecurityMode
.Message)
FrameworkFork\System.ServiceModel\System\ServiceModel\WS2007FederationHttpBinding.cs (4)
41
public WS2007FederationHttpBinding(
WSFederationHttpSecurityMode
securityMode)
46
public WS2007FederationHttpBinding(
WSFederationHttpSecurityMode
securityMode, bool reliableSessionEnabled)
74
WSFederationHttpSecurityMode
mode;
108
private static bool TryCreateSecurity(SecurityBindingElement sbe,
WSFederationHttpSecurityMode
mode, HttpTransportSecurity transportSecurity, bool isReliableSession, out WSFederationHttpSecurity security)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSFederationHttpBinding.cs (13)
41
public WSFederationHttpBinding(
WSFederationHttpSecurityMode
securityMode)
46
public WSFederationHttpBinding(
WSFederationHttpSecurityMode
securityMode, bool reliableSessionEnabled)
111
WSFederationHttpSecurityMode
mode;
147
if (_security.Mode ==
WSFederationHttpSecurityMode
.None || _security.Mode ==
WSFederationHttpSecurityMode
.Message)
157
internal static bool GetSecurityModeFromTransport(TransportBindingElement transport, HttpTransportSecurity transportSecurity, out
WSFederationHttpSecurityMode
mode)
159
mode =
WSFederationHttpSecurityMode
.None |
WSFederationHttpSecurityMode
.Message |
WSFederationHttpSecurityMode
.TransportWithMessageCredential;
162
mode =
WSFederationHttpSecurityMode
.TransportWithMessageCredential;
166
mode =
WSFederationHttpSecurityMode
.None |
WSFederationHttpSecurityMode
.Message;
181
private static bool TryCreateSecurity(SecurityBindingElement sbe,
WSFederationHttpSecurityMode
mode, HttpTransportSecurity transportSecurity, bool isReliableSession, out WSFederationHttpSecurity security)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSFederationHttpSecurity.cs (13)
13
internal const
WSFederationHttpSecurityMode
DefaultMode =
WSFederationHttpSecurityMode
.Message;
15
private
WSFederationHttpSecurityMode
_mode;
23
private WSFederationHttpSecurity(
WSFederationHttpSecurityMode
mode, FederatedMessageSecurityOverHttp messageSecurity)
31
public
WSFederationHttpSecurityMode
Mode
52
if (_mode ==
WSFederationHttpSecurityMode
.Message || _mode ==
WSFederationHttpSecurityMode
.TransportWithMessageCredential)
54
return _messageSecurity.CreateSecurityBindingElement(this.Mode ==
WSFederationHttpSecurityMode
.TransportWithMessageCredential, isReliableSessionEnabled, version);
63
WSFederationHttpSecurityMode
mode,
73
mode =
WSFederationHttpSecurityMode
.None;
77
mode &=
WSFederationHttpSecurityMode
.Message |
WSFederationHttpSecurityMode
.TransportWithMessageCredential;
80
if (!FederatedMessageSecurityOverHttp.TryCreate(sbe, mode ==
WSFederationHttpSecurityMode
.TransportWithMessageCredential, isReliableSessionEnabled, version, out messageSecurity))
FrameworkFork\System.ServiceModel\System\ServiceModel\WSFederationHttpSecurityMode.cs (4)
16
internal static bool IsDefined(
WSFederationHttpSecurityMode
value)
18
return (value ==
WSFederationHttpSecurityMode
.None ||
19
value ==
WSFederationHttpSecurityMode
.Message ||
20
value ==
WSFederationHttpSecurityMode
.TransportWithMessageCredential);