19 references to SecurityTokenPolicies
System.ServiceModel (19)
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (3)
134
OperationContext.Current.IncomingMessageProperties.Security.TransportToken.
SecurityTokenPolicies
;
432
kerberosAuthContext = SysAuthorizationContext.CreateDefaultAuthorizationContext(kerberosTokenSpecification.
SecurityTokenPolicies
);
446
if (kerberosTokenSpecification.
SecurityTokenPolicies
.Contains(policy))
System\ServiceModel\Security\SecurityMessageProperty.cs (8)
228
if (spec != null && spec.
SecurityTokenPolicies
!= null && spec.
SecurityTokenPolicies
.Count > 0)
230
for (int i = 0; i < spec.
SecurityTokenPolicies
.Count; ++i)
232
policies.Add(spec.
SecurityTokenPolicies
[i]);
254
if (includeTransportToken && this.transportToken.
SecurityTokenPolicies
!= null)
256
return this.transportToken.
SecurityTokenPolicies
;
265
return this.initiatorToken.
SecurityTokenPolicies
?? EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance;
269
return this.protectionToken.
SecurityTokenPolicies
?? EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (4)
620
(security.TransportToken.
SecurityTokenPolicies
!= null) &&
621
(security.TransportToken.
SecurityTokenPolicies
.Count > 0))
623
foreach (IAuthorizationPolicy policy in security.TransportToken.
SecurityTokenPolicies
)
796
SecurityContextSecurityToken newToken = this.IssueToken(rst, request, (SecurityContextSecurityToken)sessionToken.SecurityToken, sessionToken.
SecurityTokenPolicies
, out rstr);
System\ServiceModel\Security\SecurityUtils.cs (3)
1414
messageProperty.TransportToken = new SecurityTokenSpecification(new UserNameSecurityToken(token.UserName, null, token.Id), messageProperty.TransportToken.
SecurityTokenPolicies
);
1423
messageProperty.ProtectionToken = new SecurityTokenSpecification(new UserNameSecurityToken(token.UserName, null, token.Id), messageProperty.ProtectionToken.
SecurityTokenPolicies
);
1435
messageProperty.IncomingSupportingTokens[i] = new SupportingTokenSpecification(new UserNameSecurityToken(token.UserName, null, token.Id), supportingTokenSpecification.
SecurityTokenPolicies
, supportingTokenSpecification.SecurityTokenAttachmentMode, supportingTokenSpecification.SecurityTokenParameters);
System\ServiceModel\ServiceAuthenticationManager.cs (1)
48
foreach (IAuthorizationPolicy policy in message.Properties.Security.TransportToken.
SecurityTokenPolicies
)