38 references to WSFederationHttpSecurityMode
System.ServiceModel (38)
System\ServiceModel\Configuration\Properties.cs (2)
4423
properties.Add(new ConfigurationProperty("mode", typeof(System.ServiceModel.
WSFederationHttpSecurityMode
), System.ServiceModel.
WSFederationHttpSecurityMode
.Message, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.WSFederationHttpSecurityModeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WSFederationHttpSecurityElement.cs (2)
20
public
WSFederationHttpSecurityMode
Mode
22
get { return (
WSFederationHttpSecurityMode
)base[ConfigurationStrings.Mode]; }
System\ServiceModel\WS2007FederationHttpBinding.cs (4)
42
public WS2007FederationHttpBinding(
WSFederationHttpSecurityMode
securityMode)
47
public WS2007FederationHttpBinding(
WSFederationHttpSecurityMode
securityMode, bool reliableSessionEnabled)
92
WSFederationHttpSecurityMode
mode;
126
static bool TryCreateSecurity(SecurityBindingElement sbe,
WSFederationHttpSecurityMode
mode, HttpTransportSecurity transportSecurity, bool isReliableSession, out WSFederationHttpSecurity security)
System\ServiceModel\WSFederationHttpBinding.cs (13)
42
public WSFederationHttpBinding(
WSFederationHttpSecurityMode
securityMode)
47
public WSFederationHttpBinding(
WSFederationHttpSecurityMode
securityMode, bool reliableSessionEnabled)
129
WSFederationHttpSecurityMode
mode;
165
if (security.Mode ==
WSFederationHttpSecurityMode
.None || security.Mode ==
WSFederationHttpSecurityMode
.Message)
175
internal static bool GetSecurityModeFromTransport(TransportBindingElement transport, HttpTransportSecurity transportSecurity, out
WSFederationHttpSecurityMode
mode)
177
mode =
WSFederationHttpSecurityMode
.None |
WSFederationHttpSecurityMode
.Message |
WSFederationHttpSecurityMode
.TransportWithMessageCredential;
180
mode =
WSFederationHttpSecurityMode
.TransportWithMessageCredential;
184
mode =
WSFederationHttpSecurityMode
.None |
WSFederationHttpSecurityMode
.Message;
199
static bool TryCreateSecurity(SecurityBindingElement sbe,
WSFederationHttpSecurityMode
mode, HttpTransportSecurity transportSecurity, bool isReliableSession, out WSFederationHttpSecurity security)
System\ServiceModel\WSFederationHttpSecurity.cs (13)
12
internal const
WSFederationHttpSecurityMode
DefaultMode =
WSFederationHttpSecurityMode
.Message;
14
WSFederationHttpSecurityMode
mode;
22
WSFederationHttpSecurity(
WSFederationHttpSecurityMode
mode, FederatedMessageSecurityOverHttp messageSecurity)
30
public
WSFederationHttpSecurityMode
Mode
51
if (this.mode ==
WSFederationHttpSecurityMode
.Message || this.mode ==
WSFederationHttpSecurityMode
.TransportWithMessageCredential)
53
return this.messageSecurity.CreateSecurityBindingElement(this.Mode ==
WSFederationHttpSecurityMode
.TransportWithMessageCredential, isReliableSessionEnabled, version);
62
WSFederationHttpSecurityMode
mode,
72
mode =
WSFederationHttpSecurityMode
.None;
76
mode &=
WSFederationHttpSecurityMode
.Message |
WSFederationHttpSecurityMode
.TransportWithMessageCredential;
79
if (!FederatedMessageSecurityOverHttp.TryCreate(sbe, mode ==
WSFederationHttpSecurityMode
.TransportWithMessageCredential, isReliableSessionEnabled, version, out messageSecurity))
System\ServiceModel\WSFederationHttpSecurityMode.cs (4)
15
internal static bool IsDefined(
WSFederationHttpSecurityMode
value)
17
return (value ==
WSFederationHttpSecurityMode
.None ||
18
value ==
WSFederationHttpSecurityMode
.Message ||
19
value ==
WSFederationHttpSecurityMode
.TransportWithMessageCredential);