62 references to Rights
System.IdentityModel (46)
System\IdentityModel\Claims\Claim.cs (13)
84
system = new Claim(ClaimTypes.System, XsiConstants.System,
Rights
.Identity);
111
return new Claim(ClaimTypes.Dns, dns,
Rights
.PossessProperty, ClaimComparer.Dns);
119
return new Claim(ClaimTypes.DenyOnlySid, sid,
Rights
.PossessProperty);
127
return new Claim(ClaimTypes.Hash, SecurityUtils.CloneBuffer(hash),
Rights
.PossessProperty, ClaimComparer.Hash);
135
return new Claim(ClaimTypes.Email, mailAddress,
Rights
.PossessProperty);
143
return new Claim(ClaimTypes.Name, name,
Rights
.PossessProperty);
151
return new Claim(ClaimTypes.Rsa, rsa,
Rights
.PossessProperty, ClaimComparer.Rsa);
159
return new Claim(ClaimTypes.Spn, spn,
Rights
.PossessProperty);
167
return new Claim(ClaimTypes.Thumbprint, SecurityUtils.CloneBuffer(thumbprint),
Rights
.PossessProperty, ClaimComparer.Thumbprint);
175
return new Claim(ClaimTypes.Upn, upn,
Rights
.PossessProperty, ClaimComparer.Upn);
183
return new Claim(ClaimTypes.Uri, uri,
Rights
.PossessProperty);
191
return new Claim(ClaimTypes.Sid, sid,
Rights
.PossessProperty);
199
return new Claim(ClaimTypes.X500DistinguishedName, x500DistinguishedName,
Rights
.PossessProperty, ClaimComparer.X500DistinguishedName);
System\IdentityModel\Claims\ClaimsConversionHelper.cs (4)
33
foreach (System.IdentityModel.Claims.Claim claim in claimset.Issuer.FindClaims(System.IdentityModel.Claims.ClaimTypes.Name, System.IdentityModel.Claims.
Rights
.Identity))
50
if (String.Equals(claimset[i].Right, System.IdentityModel.Claims.
Rights
.PossessProperty, StringComparison.Ordinal))
120
if (claim.Right == System.IdentityModel.Claims.
Rights
.Identity)
141
if (claim.Right == System.IdentityModel.Claims.
Rights
.Identity)
System\IdentityModel\Claims\ClaimSet.cs (4)
28
claims.Add(new Claim(ClaimTypes.System, XsiConstants.System,
Rights
.PossessProperty));
43
claims.Add(new Claim(ClaimTypes.Sid, sid,
Rights
.Identity));
65
Rights
.Identity.Equals(right) ||
66
Rights
.PossessProperty.Equals(right);
System\IdentityModel\Claims\WindowsClaimSet.cs (5)
155
claims.Add(new Claim(ClaimTypes.Sid, this.windowsIdentity.User,
Rights
.Identity));
205
if (right == null ||
Rights
.Identity == right)
207
yield return new Claim(ClaimTypes.Sid, this.windowsIdentity.User,
Rights
.Identity);
211
if (right == null ||
Rights
.PossessProperty == right)
223
if (this.includeWindowsGroups && (right == null ||
Rights
.PossessProperty == right))
System\IdentityModel\Claims\X509CertificateClaimSet.cs (8)
169
claims.Add(new Claim(ClaimTypes.Thumbprint, thumbprint,
Rights
.Identity));
170
claims.Add(new Claim(ClaimTypes.Thumbprint, thumbprint,
Rights
.PossessProperty));
241
if (right == null ||
Rights
.Identity.Equals(right))
243
yield return new Claim(ClaimTypes.Thumbprint, this.certificate.GetCertHash(),
Rights
.Identity);
245
if (right == null ||
Rights
.PossessProperty.Equals(right))
247
yield return new Claim(ClaimTypes.Thumbprint, this.certificate.GetCertHash(),
Rights
.PossessProperty);
252
if (right == null ||
Rights
.PossessProperty.Equals(right))
349
claims.Add(new Claim(ClaimTypes.X500DistinguishedName, x500DistinguishedName,
Rights
.Identity));
System\IdentityModel\Selectors\CustomUserNameSecurityTokenAuthenticator.cs (1)
43
claims.Add(new Claim(ClaimTypes.Name, userName,
Rights
.Identity));
System\IdentityModel\Selectors\RsaSecurityTokenAuthenticator.cs (1)
28
claims.Add(new Claim(ClaimTypes.Rsa, rsaToken.Rsa,
Rights
.Identity));
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
192
return new DefaultClaimSet(new Claim(ClaimTypes.Rsa, rsaKeyIdentifierClause.Rsa,
Rights
.PossessProperty));
System\IdentityModel\Tokens\SamlAttribute.cs (2)
64
if (claim.Right !=
Rights
.PossessProperty)
196
tempClaims.Add(new Claim(this.claimType, this.attributeValues[i],
Rights
.PossessProperty));
System\IdentityModel\Tokens\SamlAuthenticationStatement.cs (1)
149
claims.Add(new Claim(ClaimTypes.Authentication, new SamlAuthenticationClaimResource(this.authenticationInstant, this.authenticationMethod, this.dnsAddress, this.ipAddress, this.authorityBindings),
Rights
.PossessProperty));
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (1)
139
claims.Add(new Claim(ClaimTypes.AuthorizationDecision, new SamlAuthorizationDecisionClaimResource(this.resource, this.accessDecision, this.actions[i].Namespace, this.actions[i].Action),
Rights
.PossessProperty));
System\IdentityModel\Tokens\SamlSubject.cs (3)
211
this.claims.Add(new Claim(ClaimTypes.NameIdentifier, new SamlNameIdentifierClaimResource(this.name, this.nameQualifier, this.nameFormat),
Rights
.Identity));
212
this.claims.Add(new Claim(ClaimTypes.NameIdentifier, new SamlNameIdentifierClaimResource(this.name, this.nameQualifier, this.nameFormat),
Rights
.PossessProperty));
234
foreach (Claim claim in this.subjectKeyClaimset.FindClaims(null,
Rights
.Identity))
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
1763
return string.IsNullOrEmpty(right) ? System.IdentityModel.Claims.
Rights
.PossessProperty : right;
1768
if (System.IdentityModel.Claims.
Rights
.PossessProperty.Equals(claim.Right))
System.ServiceModel (16)
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
210
claims.Add(new Claim(ClaimTypes.Sid, securityIdentifier,
Rights
.Identity));
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (2)
372
System.IdentityModel.Claims.
Rights
.PossessProperty)))
388
System.IdentityModel.Claims.
Rights
.PossessProperty), new ClaimStringValueComparer()))
System\ServiceModel\Security\IdentityVerifier.cs (3)
127
&& identity.IdentityClaim.Right ==
Rights
.PossessProperty
135
foreach (Claim claim in claimSet.FindClaims(ClaimTypes.Dns,
Rights
.PossessProperty))
240
IEnumerable<Claim> claims = claimSet.FindClaims(ClaimTypes.Spn,
Rights
.PossessProperty);
System\ServiceModel\Security\SctClaimSerializer.cs (2)
33
if (
Rights
.PossessProperty.Equals(claim.Right))
41
return String.IsNullOrEmpty(right) ?
Rights
.PossessProperty : right;
System\ServiceModel\Security\SctClaimsHandler.cs (1)
155
foreach ( System.IdentityModel.Claims.Claim claim in claimSet.FindClaims( null, System.IdentityModel.Claims.
Rights
.Identity ) )
System\ServiceModel\Security\SecurityUtils.cs (3)
794
foreach (Claim claim in claimSet.FindClaims(null,
Rights
.Identity))
973
identityClaim = new Claim(ClaimTypes.Upn, principalName,
Rights
.Identity);
978
identityClaim = new Claim(ClaimTypes.Spn, principalName,
Rights
.Identity);
System\ServiceModel\Security\Tokens\KerberosRequestorSecurityTokenAuthenticator.cs (1)
32
ClaimSet claimSet = new DefaultClaimSet(ClaimSet.System, new Claim(ClaimTypes.Spn, kerbToken.ServicePrincipalName,
Rights
.PossessProperty));
System\ServiceModel\X509CertificateEndpointIdentity.cs (3)
24
base.Initialize(new Claim(ClaimTypes.Thumbprint, certificate.GetCertHash(),
Rights
.PossessProperty));
37
base.Initialize(new Claim(ClaimTypes.Thumbprint, primaryCertificate.GetCertHash(),
Rights
.PossessProperty));
64
base.Initialize(new Claim(ClaimTypes.Thumbprint, certificate.GetCertHash(),
Rights
.PossessProperty));