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