Home
last modified time | relevance | path

Searched refs:PolicyEnforcement (Results 1 – 25 of 69) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/security/system/security/Authentication/ExtendedProtection/Configuration/
H A DExtendedProtectionPolicyElement.cs26 [ConfigurationProperty(ExtendedProtectionConfigurationStrings.PolicyEnforcement)]
27 public PolicyEnforcement PolicyEnforcement { property in System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement
29 return (PolicyEnforcement)this[this.policyEnforcement];
56 if (PolicyEnforcement == PolicyEnforcement.Never) in BuildPolicy()
58 return new ExtendedProtectionPolicy(PolicyEnforcement.Never); in BuildPolicy()
74 return new ExtendedProtectionPolicy(PolicyEnforcement, ProtectionScenario, spns); in BuildPolicy()
79 private static PolicyEnforcement DefaultPolicyEnforcement
83 return PolicyEnforcement.Never;
88 new ConfigurationProperty(ExtendedProtectionConfigurationStrings.PolicyEnforcement,
89 typeof(PolicyEnforcement), DefaultPolicyEnforcement,
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/src/System/Security/Authentication/ExtendedProtection/
H A DExtendedProtectionPolicy.cs25 private PolicyEnforcement _policyEnforcement;
29 public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, in ExtendedProtectionPolicy()
33 if (policyEnforcement == PolicyEnforcement.Never) in ExtendedProtectionPolicy()
48 public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, in ExtendedProtectionPolicy()
56 public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, in ExtendedProtectionPolicy()
59 if (policyEnforcement == PolicyEnforcement.Never) in ExtendedProtectionPolicy()
74 public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement) in ExtendedProtectionPolicy()
96 public PolicyEnforcement PolicyEnforcement property in System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/security/system/security/Authentication/ExtendedProtection/
H A DExtendedProtectionPolicy.cs32 private PolicyEnforcement policyEnforcement;
36 public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, in ExtendedProtectionPolicy()
40 if (policyEnforcement == PolicyEnforcement.Never) in ExtendedProtectionPolicy()
54 public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, in ExtendedProtectionPolicy()
62 public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement, in ExtendedProtectionPolicy()
65 if (policyEnforcement == PolicyEnforcement.Never) in ExtendedProtectionPolicy()
79 public ExtendedProtectionPolicy(PolicyEnforcement policyEnforcement) in ExtendedProtectionPolicy()
88 policyEnforcement = (PolicyEnforcement)info.GetInt32(policyEnforcementName); in ExtendedProtectionPolicy()
105 public PolicyEnforcement PolicyEnforcement property in System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
H A DExtendedProtectionPolicyTypeConverter.cs39 if (policy.PolicyEnforcement == PolicyEnforcement.Never) in ConvertTo()
41 parameterTypes = new Type[] { typeof(PolicyEnforcement) }; in ConvertTo()
42 parameterValues = new object[] { PolicyEnforcement.Never }; in ConvertTo()
46 …parameterTypes = new Type[] { typeof(PolicyEnforcement), typeof(ProtectionScenario), typeof(IColle… in ConvertTo()
55 …parameterValues = new object[] { policy.PolicyEnforcement, policy.ProtectionScenario, customServic… in ConvertTo()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/
H A DChannelBindingUtility.cs21 …ic ExtendedProtectionPolicy disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
47 destination.PolicyEnforcement = source.PolicyEnforcement; in CopyFrom()
62 destination.PolicyEnforcement = source.PolicyEnforcement; in InitializeFrom()
133 …if (policy1.PolicyEnforcement == PolicyEnforcement.Never && policy2.PolicyEnforcement == PolicyEnf… in AreEqual()
138 if (policy1.PolicyEnforcement != policy2.PolicyEnforcement) in AreEqual()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Security.Authentication.ExtendedProtection/
H A DExtendedProtectionPolicy.cs44 public ExtendedProtectionPolicy (PolicyEnforcement policyEnforcement) in ExtendedProtectionPolicy()
50 …public ExtendedProtectionPolicy (PolicyEnforcement policyEnforcement, ChannelBinding customChannel… in ExtendedProtectionPolicy()
55 …public ExtendedProtectionPolicy (PolicyEnforcement policyEnforcement, ProtectionScenario protectio… in ExtendedProtectionPolicy()
60 …public ExtendedProtectionPolicy (PolicyEnforcement policyEnforcement, ProtectionScenario protectio… in ExtendedProtectionPolicy()
82 public PolicyEnforcement PolicyEnforcement { property in System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.TypeConverter/src/System/Security/Authentication/ExtendedProtection/
H A DExtendedProtectionPolicyTypeConverter.cs32 if (policy.PolicyEnforcement == PolicyEnforcement.Never) in ConvertTo()
34 parameterTypes = new Type[] { typeof(PolicyEnforcement) }; in ConvertTo()
35 parameterValues = new object[] { PolicyEnforcement.Never }; in ConvertTo()
39 …parameterTypes = new Type[] { typeof(PolicyEnforcement), typeof(ProtectionScenario), typeof(IColle… in ConvertTo()
48 …parameterValues = new object[] { policy.PolicyEnforcement, policy.ProtectionScenario, customServic… in ConvertTo()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/tests/UnitTests/System/Security/Authentication/ExtendedProtection/
H A DExtendedProtectionPolicyTest.cs17 …tException>("policyEnforcement", () => new ExtendedProtectionPolicy(PolicyEnforcement.Never, Prote… in Constructor_PolicyEnforcement_NeverParam()
25 …Exception>("customServiceNames", () => new ExtendedProtectionPolicy(PolicyEnforcement.Always, Prot… in Constructor_ServiceNameCollection_ZeroElementsParam()
32 …ception>("customChannelBinding", () => new ExtendedProtectionPolicy(PolicyEnforcement.Always, null… in Constructor_ChannelBinding_NullParam()
41 …var extendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Always, ProtectionSc… in Constructor_CollectionParam()
56 var policyEnforcementParam = PolicyEnforcement.Always; in ExtendedProtectionPolicy_Properties()
63 Assert.Equal(policyEnforcementParam, extendedProtectionPolicy.PolicyEnforcement); in ExtendedProtectionPolicy_Properties()
74 var policyEnforcementParam = PolicyEnforcement.Always; in ExtendedProtectionPolicy_ToString()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.TypeConverter/tests/Security/Authentication/ExtendedProtection/
H A DExtendedProtectionPolicyTypeConverterTests.cs37 …To(null, CultureInfo.InvariantCulture, new ExtendedProtectionPolicy(PolicyEnforcement.Never), null… in ConvertTo_NullTypeTests()
43 ExtendedProtectionPolicy policy = new ExtendedProtectionPolicy(PolicyEnforcement.Never); in ConvertTo_PositiveTests()
49 Assert.Equal(PolicyEnforcement.Never, instanceResult.PolicyEnforcement); in ConvertTo_PositiveTests()
67 ExtendedProtectionPolicy policy = new ExtendedProtectionPolicy(PolicyEnforcement.Never); in ConvertTo_NegativeTests()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/policy/
H A Duser_policy_manager_builder_chromeos.cc55 using PolicyEnforcement = UserCloudPolicyManagerChromeOS::PolicyEnforcement; typedef
220 PolicyEnforcement enforcement_type = PolicyEnforcement::kPolicyOptional; in CreateConfigurationPolicyProvider()
222 enforcement_type = PolicyEnforcement::kPolicyRequired; in CreateConfigurationPolicyProvider()
224 enforcement_type = PolicyEnforcement::kServerCheckRequired; in CreateConfigurationPolicyProvider()
236 (enforcement_type != PolicyEnforcement::kPolicyOptional) && in CreateConfigurationPolicyProvider()
248 enforcement_type == PolicyEnforcement::kPolicyRequired && in CreateConfigurationPolicyProvider()
H A Duser_cloud_policy_manager_chromeos_unittest.cc96 using PolicyEnforcement = UserCloudPolicyManagerChromeOS::PolicyEnforcement; typedef
127 PolicyEnforcement::kPolicyRequired); in MakeManagerWithPreloadedStore()
389 PolicyEnforcement enforcement_type) { in CreateManager()
477 base::TimeDelta(), PolicyEnforcement::kServerCheckRequired)); in TEST_P()
524 PolicyEnforcement::kPolicyRequired); in TEST_P()
533 base::TimeDelta(), PolicyEnforcement::kServerCheckRequired)); in TEST_P()
562 base::TimeDelta(), PolicyEnforcement::kServerCheckRequired)); in TEST_P()
592 base::TimeDelta(), PolicyEnforcement::kServerCheckRequired)); in TEST_P()
622 base::TimeDelta(), PolicyEnforcement::kServerCheckRequired)); in TEST_P()
754 base::TimeDelta(), PolicyEnforcement::kPolicyOptional)); in TEST_P()
[all …]
H A Duser_cloud_policy_manager_chromeos.h66 enum class PolicyEnforcement { enum
109 PolicyEnforcement enforcement_type,
286 PolicyEnforcement enforcement_type_;
H A Duser_cloud_policy_manager_chromeos.cc142 PolicyEnforcement enforcement_type, in UserCloudPolicyManagerChromeOS()
158 PolicyEnforcement::kServerCheckRequired || in UserCloudPolicyManagerChromeOS()
177 DCHECK_EQ(enforcement_type_, PolicyEnforcement::kPolicyRequired); in UserCloudPolicyManagerChromeOS()
252 enforcement_type_ != PolicyEnforcement::kPolicyOptional) { in Connect()
540 enforcement_type_ = PolicyEnforcement::kPolicyOptional; in OnStoreLoaded()
713 if (!success && enforcement_type_ != PolicyEnforcement::kPolicyOptional) { in CancelWaitForPolicyFetch()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/SecureProtocols/
H A D_NegoState.cs100 if (policy.PolicyEnforcement == PolicyEnforcement.Always) in ValidateCreateContext()
116 _ExtendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never); in ValidateCreateContext()
190 …if (_ExtendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.WhenSupported) { flags |= Con… in ValidateCreateContext()
191 if (_ExtendedProtectionPolicy.PolicyEnforcement != PolicyEnforcement.Never && in ValidateCreateContext()
455 if (_ExtendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.Never || in CheckSpn()
463 … GlobalLog.Assert(_ExtendedProtectionPolicy.PolicyEnforcement != PolicyEnforcement.Always, in CheckSpn()
472 if (_ExtendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.WhenSupported) in CheckSpn()
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/System.Web.Http.SelfHost/ServiceModel/Channels/
H A DChannelBindingUtility.cs10 …ic ExtendedProtectionPolicy disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
32 destination.PolicyEnforcement = source.PolicyEnforcement; in InitializeFrom()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/
H A DSecurityUtils.cs742 …ic ExtendedProtectionPolicy disabledPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never);
744 PolicyEnforcement _policyEnforcement;
753 _policyEnforcement = DefaultPolicy.PolicyEnforcement; in ExtendedProtectionPolicyHelper()
761 _policyEnforcement = extendedProtectionPolicy.PolicyEnforcement; in ExtendedProtectionPolicyHelper()
766 if (_policyEnforcement == PolicyEnforcement.Never) in ExtendedProtectionPolicyHelper()
797 public PolicyEnforcement PolicyEnforcement property in System.IdentityModel.ExtendedProtectionPolicyHelper
816 if (_policyEnforcement == PolicyEnforcement.Never) in CheckServiceBinding()
835 if (_policyEnforcement == PolicyEnforcement.Always) in CheckServiceBinding()
841 if (_policyEnforcement == PolicyEnforcement.WhenSupported) in CheckServiceBinding()
852 case PolicyEnforcement.WhenSupported: in CheckServiceBinding()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Security.Authentication.ExtendedProtection.Configuration/
H A DExtendedProtectionPolicyElement.cs70 public PolicyEnforcement PolicyEnforcement { property in System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement
71 get { return (PolicyEnforcement) this [policy_enforcement]; }
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Diagnostics/
H A DSecurityTraceRecordHelper.cs108 … xml.WriteElementString("PolicyEnforcement", this.policyHelper.PolicyEnforcement.ToString()); in WriteTo()
134 …if (this.channelBinding != null && this.policyHelper.PolicyEnforcement != PolicyEnforcement.Never … in WriteTo()
136 …licy extendedProtection = new ExtendedProtectionPolicy(policyHelper.PolicyEnforcement, channelBind… in WriteTo()
149 …dProtectionPolicy extendedProtection = new ExtendedProtectionPolicy(PolicyEnforcement.WhenSupporte… in WriteTo()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/src/System/Net/Security/
H A DNegoState.cs99 _extendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never); in ValidateCreateContext()
169 if (_extendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.WhenSupported) in ValidateCreateContext()
174 if (_extendedProtectionPolicy.PolicyEnforcement != PolicyEnforcement.Never && in ValidateCreateContext()
413 if (_extendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.Never || in CheckSpn()
423 if (_extendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.WhenSupported) in CheckSpn()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Tokens/
H A DKerberosReceiverSecurityToken.cs187 …if (policyHelper.PolicyEnforcement == PolicyEnforcement.Always && policyHelper.ChannelBinding == n… in Initialize()
192 if (policyHelper.PolicyEnforcement == PolicyEnforcement.WhenSupported) in Initialize()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Activation/System/ServiceModel/Activation/
H A DHostedAspNetEnvironment.cs260 if (extendedProtectionPolicy.PolicyEnforcement == PolicyEnforcement.Always) in ValidateHttpSettings()
278 … if (iisPolicy.PolicyEnforcement != extendedProtectionPolicy.PolicyEnforcement) in ValidateHttpSettings()
280 …ProtectionPolicyEnforcementMismatch(iisPolicy.PolicyEnforcement, extendedProtectionPolicy.PolicyEn… in ValidateHttpSettings()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/ref/
H A DSystem.Net.Security.cs234 …dProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforc… in ExtendedProtectionPolicy()
235 …dProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforc… in ExtendedProtectionPolicy()
236 …dProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforc… in ExtendedProtectionPolicy()
237 …dProtectionPolicy(System.Security.Authentication.ExtendedProtection.PolicyEnforcement policyEnforc… in ExtendedProtectionPolicy()
242 …public System.Security.Authentication.ExtendedProtection.PolicyEnforcement PolicyEnforcement { get… property in System.Security.Authentication.ExtendedProtection.ExtendedProtectionPolicy
247 public enum PolicyEnforcement enum
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net/
H A DHttpListener.cs75 extendedProtectionPolicy = new ExtendedProtectionPolicy (PolicyEnforcement.Never); in HttpListener()
153 …henticationManager.OSSupportsExtendedProtection && value.PolicyEnforcement == PolicyEnforcement.Al…
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/
H A DHttpListener.cs382 m_ExtendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never); in HttpListener()
461 …henticationManager.OSSupportsExtendedProtection && value.PolicyEnforcement == PolicyEnforcement.Al…
1441 … extendedProtectionPolicy = new ExtendedProtectionPolicy(PolicyEnforcement.Never); in HandleAuthentication()
2021 if (policy.PolicyEnforcement == PolicyEnforcement.Never) in GetChannelBinding()
2035 …GlobalLog.Assert(policy.PolicyEnforcement != PolicyEnforcement.Always, "User managed to set Policy… in GetChannelBinding()
2066 if (policy.PolicyEnforcement == PolicyEnforcement.Never) in CheckSpn()
2086 …GlobalLog.Assert(policy.PolicyEnforcement != PolicyEnforcement.Always, "User managed to set Policy… in CheckSpn()
2099 if (policy.PolicyEnforcement == PolicyEnforcement.WhenSupported) in CheckSpn()
2191 if (policy.PolicyEnforcement != PolicyEnforcement.Never) { in GetContextFlags()
2193 if (policy.PolicyEnforcement == PolicyEnforcement.WhenSupported) { in GetContextFlags()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/
H A DTcpTransportSecurity.cs74 if (value.PolicyEnforcement == PolicyEnforcement.Always &&

123