31 references to AuthorizationContext
System.ServiceModel (30)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (5)
792if (context != null && context.AuthorizationContext != null && context.AuthorizationContext.ClaimSets != null && context.AuthorizationContext.ClaimSets.Count > 0) 793claimSet = context.AuthorizationContext.ClaimSets[0]; 915secContext.AuthorizationContext.ClaimSets[0], null);
System\ServiceModel\Channels\PeerSecurityManager.cs (2)
553for (int i = 0; i < context.AuthorizationContext.ClaimSets.Count; ++i) 555ClaimSet claimSet = context.AuthorizationContext.ClaimSets[i];
System\ServiceModel\Channels\SessionConnectionReader.cs (1)
658clientSecurity.ServiceSecurityContext.AuthorizationContext);
System\ServiceModel\Channels\SingletonConnectionReader.cs (1)
884clientSecurity.ServiceSecurityContext.AuthorizationContext);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
974AuthorizationContext authzContext = this.serverSecurity.ServiceSecurityContext.AuthorizationContext;
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
479remoteSecurity.ServiceSecurityContext.AuthorizationContext)) 481string primaryIdentity = SecurityUtils.GetIdentityNamesFromContext(remoteSecurity.ServiceSecurityContext.AuthorizationContext);
System\ServiceModel\Diagnostics\MessageTraceRecord.cs (1)
58AuthorizationContext authContext = message.Properties.Security.ServiceSecurityContext.AuthorizationContext;
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (2)
78AuthorizationContext authContext = security.ServiceSecurityContext.AuthorizationContext; 110AuthorizationContext authContext = security.ServiceSecurityContext.AuthorizationContext;
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (2)
84AuthorizationContext authContext = security.ServiceSecurityContext.AuthorizationContext; 118AuthorizationContext authContext = security.ServiceSecurityContext.AuthorizationContext;
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
639if (securityContext.AuthorizationContext.Properties.TryGetValue(AuthorizationPolicy.ClaimsPrincipalKey, out principal))
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (1)
640this.IdentityVerifier.EnsureIncomingIdentity(address, property.ServiceSecurityContext.AuthorizationContext);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (4)
167if (securityContext.AuthorizationContext.Properties.TryGetValue(SecurityUtils.Principal, out customPrincipal) && customPrincipal is IPrincipal) 262this.suppressAuditFailure, rpc.Operation.Name, SecurityUtils.GetIdentityNamesFromContext(securityContext.AuthorizationContext)); 283primaryIdentity = SecurityUtils.GetIdentityNamesFromContext(securityContext.AuthorizationContext); 474AuthorizationContext authContext = this.securityContext.AuthorizationContext;
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
678ClaimsPrincipal claimsPrincipal = operationContext.ServiceSecurityContext.AuthorizationContext.Properties[AuthorizationPolicy.ClaimsPrincipalKey] as ClaimsPrincipal; 681operationContext.ServiceSecurityContext.AuthorizationContext.Properties[AuthorizationPolicy.ClaimsPrincipalKey] = claimsPrincipal;
System\ServiceModel\Security\IdentityVerifier.cs (1)
55return this.CheckAccess(identity, securityContextProperty.ServiceSecurityContext.AuthorizationContext);
System\ServiceModel\Security\SecurityProtocol.cs (2)
813SecurityUtils.GetIdentityNamesFromContext(verifiedMessage.Properties.Security.ServiceSecurityContext.AuthorizationContext)); 836primaryIdentity = SecurityUtils.GetIdentityNamesFromContext(security.ServiceSecurityContext.AuthorizationContext);
System\ServiceModel\ServiceSecurityContext.cs (2)
107this.identityClaim = SecurityUtils.GetPrimaryIdentityClaim(this.AuthorizationContext); 192AuthorizationContext authContext = this.AuthorizationContext;
System.WorkflowServices (1)
System\ServiceModel\Dispatcher\WorkflowRequestContext.cs (1)
93this.authorizationContext = OperationContext.Current.ServiceSecurityContext.AuthorizationContext;