19 instantiations of ServiceSecurityContext
System.ServiceModel (19)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
384
remoteSecurity.ServiceSecurityContext = new
ServiceSecurityContext
(spnPolicies);
System\ServiceModel\Channels\HttpChannelListener.cs (2)
646
security.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
657
security.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
87
result.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
157
result.ServiceSecurityContext = new
ServiceSecurityContext
(policies);
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (2)
190
security.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
221
security.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
666
this.clientSecurity.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
689
this.clientSecurity.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
972
this.serverSecurity.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
258
this.clientSecurity.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
404
result.ServiceSecurityContext = new
ServiceSecurityContext
(authorizationPolicies);
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (2)
229
security.ServiceSecurityContext = new
ServiceSecurityContext
(security.GetInitiatorTokenAuthorizationPolicies());
238
security.ServiceSecurityContext = new
ServiceSecurityContext
(recipientAuthorizationContext, recipientTokenPolicies ?? EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance);
System\ServiceModel\Security\MessageSecurityProtocol.cs (2)
186
security.ServiceSecurityContext = new
ServiceSecurityContext
(security.GetInitiatorTokenAuthorizationPolicies());
195
security.ServiceSecurityContext = new
ServiceSecurityContext
(protectionAuthContext, protectionTokenPolicies ?? EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance);
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
203
security.ServiceSecurityContext = new
ServiceSecurityContext
(security.GetInitiatorTokenAuthorizationPolicies());
System\ServiceModel\ServiceAuthorizationManager.cs (1)
44
new
ServiceSecurityContext
(authorizationPolicies ?? EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance);
System\ServiceModel\ServiceSecurityContext.cs (1)
63
anonymous = new
ServiceSecurityContext
(EmptyReadOnlyCollection<IAuthorizationPolicy>.Instance);
32 references to ServiceSecurityContext
System.ServiceModel (32)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (4)
777
ProcessRstr(neighbor, reply, PeerSecurityManager.FindClaim(
ServiceSecurityContext
.Current));
790
ServiceSecurityContext
context =
ServiceSecurityContext
.Current;
909
ServiceSecurityContext
secContext = opContext.ServiceSecurityContext;
System\ServiceModel\Channels\PeerSecurityManager.cs (3)
523
public bool Authenticate(
ServiceSecurityContext
context, byte[] message)
549
public static Claim FindClaim(
ServiceSecurityContext
context)
636
Claim claim = FindClaim(
ServiceSecurityContext
.Current);
System\ServiceModel\ComIntegration\MessageUtil.cs (1)
29
ServiceSecurityContext
context;
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
626
ServiceSecurityContext
securityContext = rpc.SecurityContext;
System\ServiceModel\Dispatcher\MessageRpc.cs (1)
62
internal
ServiceSecurityContext
SecurityContext;
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (9)
125
IPrincipal SetCurrentThreadPrincipal(
ServiceSecurityContext
securityContext, out bool isThreadPrincipalSet)
164
static IPrincipal GetCustomPrincipal(
ServiceSecurityContext
securityContext)
194
ServiceSecurityContext
securityContext;
214
IDisposable StartImpersonation2(ref MessageRpc rpc,
ServiceSecurityContext
securityContext, bool isSecurityContextImpersonationOn)
338
IPrincipal GetWindowsPrincipal(
ServiceSecurityContext
securityContext)
351
ServiceSecurityContext
GetAndCacheSecurityContext(ref MessageRpc rpc)
353
ServiceSecurityContext
securityContext = rpc.SecurityContext;
454
ServiceSecurityContext
securityContext;
456
public WindowsSidPrincipal(WindowsSidIdentity identity,
ServiceSecurityContext
securityContext)
System\ServiceModel\OperationContext.cs (1)
284
public
ServiceSecurityContext
ServiceSecurityContext
System\ServiceModel\Security\RoleProviderPrincipal.cs (2)
16
ServiceSecurityContext
securityContext;
18
public RoleProviderPrincipal(object roleProvider,
ServiceSecurityContext
securityContext)
System\ServiceModel\Security\SecurityMessageProperty.cs (3)
27
ServiceSecurityContext
securityContext;
34
this.securityContext =
ServiceSecurityContext
.Anonymous;
37
public
ServiceSecurityContext
ServiceSecurityContext
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (3)
573
static bool IsSameIdentity(ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies,
ServiceSecurityContext
incomingContext)
665
ServiceSecurityContext
clientContext;
673
clientContext =
ServiceSecurityContext
.Anonymous;
System\ServiceModel\ServiceSecurityContext.cs (4)
20
static
ServiceSecurityContext
anonymous;
57
public static
ServiceSecurityContext
Anonymous
69
public static
ServiceSecurityContext
Current
73
ServiceSecurityContext
result = null;