29 references to ProtectionScenario
System (18)
net\System\Net\HttpListener.cs (4)
2019
private static bool ScenarioChecksChannelBinding(bool isSecureConnection,
ProtectionScenario
scenario)
2021
return (isSecureConnection && scenario ==
ProtectionScenario
.TransportSelected);
2045
if (policy.ProtectionScenario ==
ProtectionScenario
.TrustedProxy)
2202
if (policy.ProtectionScenario ==
ProtectionScenario
.TrustedProxy) {
net\System\Net\SecureProtocols\_NegoState.cs (1)
192
_ExtendedProtectionPolicy.ProtectionScenario ==
ProtectionScenario
.TrustedProxy)
security\system\security\Authentication\ExtendedProtection\Configuration\ExtendedProtectionPolicyElement.cs (5)
36
[ConfigurationProperty(ExtendedProtectionConfigurationStrings.ProtectionScenario, DefaultValue=
ProtectionScenario
.TransportSelected)]
37
public
ProtectionScenario
ProtectionScenario {
39
return (
ProtectionScenario
)this[this.protectionScenario];
94
typeof(
ProtectionScenario
),
ProtectionScenario
.TransportSelected,
security\system\security\Authentication\ExtendedProtection\ExtendedProtectionPolicy.cs (7)
33
private
ProtectionScenario
protectionScenario;
37
ProtectionScenario
protectionScenario,
55
ProtectionScenario
protectionScenario,
75
this.protectionScenario =
ProtectionScenario
.TransportSelected;
83
this.protectionScenario =
ProtectionScenario
.TransportSelected;
89
protectionScenario = (
ProtectionScenario
)info.GetInt32(protectionScenarioName);
110
public
ProtectionScenario
ProtectionScenario
security\system\security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (1)
46
parameterTypes = new Type[] { typeof(PolicyEnforcement), typeof(
ProtectionScenario
), typeof(ICollection) };
System.IdentityModel (5)
System\IdentityModel\SecurityUtils.cs (3)
839
ProtectionScenario
_protectionScenario;
868
return (_channelBinding != null && _policyEnforcement != PolicyEnforcement.Never && _protectionScenario !=
ProtectionScenario
.TrustedProxy);
886
public
ProtectionScenario
ProtectionScenario
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (2)
187
if (policyHelper.PolicyEnforcement == PolicyEnforcement.Always && policyHelper.ChannelBinding == null && policyHelper.ProtectionScenario !=
ProtectionScenario
.TrustedProxy)
197
if (policyHelper.ProtectionScenario ==
ProtectionScenario
.TrustedProxy)
System.ServiceModel (3)
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
384
if (SecurityUtils.IsChannelBindingDisabled || !this.extendedProtectionPolicyHasSupport || (cbp == null && extendedProtectionPolicy.ProtectionScenario !=
ProtectionScenario
.TrustedProxy))
System\ServiceModel\Security\WindowsSspiNegotiation.cs (2)
353
if (policyHelper.PolicyEnforcement == PolicyEnforcement.Always && policyHelper.ChannelBinding == null && policyHelper.ProtectionScenario !=
ProtectionScenario
.TrustedProxy)
363
if (policyHelper.ProtectionScenario ==
ProtectionScenario
.TrustedProxy)
System.ServiceModel.Activation (3)
System\ServiceModel\Activation\MetabaseSettings.cs (3)
76
ProtectionScenario
scenario;
105
scenario =
ProtectionScenario
.TransportSelected;
110
scenario =
ProtectionScenario
.TrustedProxy;