23 references to PrincipalPermissionMode
System.ServiceModel (23)
System\ServiceModel\Configuration\Properties.cs (2)
3081
properties.Add(new ConfigurationProperty("principalPermissionMode", typeof(System.ServiceModel.Description.
PrincipalPermissionMode
), System.ServiceModel.Description.
PrincipalPermissionMode
.UseWindowsGroups, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Description.PrincipalPermissionModeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\ServiceAuthorizationElement.cs (3)
24
[ConfigurationProperty(ConfigurationStrings.PrincipalPermissionMode, DefaultValue =
PrincipalPermissionMode
.UseWindowsGroups)]
26
public
PrincipalPermissionMode
PrincipalPermissionMode
28
get { return (
PrincipalPermissionMode
)base[ConfigurationStrings.PrincipalPermissionMode]; }
System\ServiceModel\Description\PrincipalPermissionMode.cs (2)
20
public static bool IsDefined(
PrincipalPermissionMode
principalPermissionMode)
22
return Enum.IsDefined( typeof(
PrincipalPermissionMode
), principalPermissionMode );
System\ServiceModel\Description\ServiceAuthorizationBehavior.cs (4)
21
internal const
PrincipalPermissionMode
DefaultPrincipalPermissionMode =
PrincipalPermissionMode
.UseWindowsGroups;
27
PrincipalPermissionMode
principalPermissionMode;
95
public
PrincipalPermissionMode
PrincipalPermissionMode
System\ServiceModel\Dispatcher\DispatchRuntime.cs (2)
50
PrincipalPermissionMode
principalPermissionMode;
492
public
PrincipalPermissionMode
PrincipalPermissionMode
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (8)
36
PrincipalPermissionMode
principalPermissionMode;
98
if (dispatch.PrincipalPermissionMode !=
PrincipalPermissionMode
.None)
132
if (this.principalPermissionMode ==
PrincipalPermissionMode
.UseWindowsGroups)
136
else if (this.principalPermissionMode ==
PrincipalPermissionMode
.UseAspNetRoles)
140
else if (this.principalPermissionMode ==
PrincipalPermissionMode
.Custom)
144
else if (this.principalPermissionMode ==
PrincipalPermissionMode
.Always)
183
this.principalPermissionMode !=
PrincipalPermissionMode
.None;
195
bool setThreadPrincipal = this.principalPermissionMode !=
PrincipalPermissionMode
.None;
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
1004
endpointDispatcher.DispatchRuntime.PrincipalPermissionMode =
PrincipalPermissionMode
.None;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1193
endpointDispatcher.DispatchRuntime.PrincipalPermissionMode =
PrincipalPermissionMode
.None;