22 instantiations of SecurityMessageProperty
System.ServiceModel (22)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
382SecurityMessageProperty remoteSecurity = new SecurityMessageProperty();
System\ServiceModel\Channels\HttpChannelListener.cs (2)
644SecurityMessageProperty security = new SecurityMessageProperty(); 655SecurityMessageProperty security = new SecurityMessageProperty();
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
85result = new SecurityMessageProperty();
System\ServiceModel\Channels\HttpsChannelListener.cs (5)
155SecurityMessageProperty result = new SecurityMessageProperty(); 204return new SecurityMessageProperty(); 232return new SecurityMessageProperty(); 265return new SecurityMessageProperty(); 293return new SecurityMessageProperty();
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (2)
188SecurityMessageProperty security = new SecurityMessageProperty(); 219SecurityMessageProperty security = new SecurityMessageProperty();
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (4)
571this.clientSecurity = new SecurityMessageProperty(); 664this.clientSecurity = new SecurityMessageProperty(); 687this.clientSecurity = new SecurityMessageProperty(); 970this.serverSecurity = new SecurityMessageProperty();
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (3)
196this.clientSecurity = new SecurityMessageProperty(); 256this.clientSecurity = new SecurityMessageProperty(); 402SecurityMessageProperty result = new SecurityMessageProperty();
System\ServiceModel\Security\SecurityMessageProperty.cs (2)
178SecurityMessageProperty result = new SecurityMessageProperty(); 219result = new SecurityMessageProperty();
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
775SecurityMessageProperty supportingTokenProperty = new SecurityMessageProperty();
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
920SecurityMessageProperty security = new SecurityMessageProperty();
160 references to SecurityMessageProperty
System.ServiceModel (159)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
416SecurityMessageProperty handshakeReplySecurityMessageProperty = this.channelFactory.CreateReplySecurityProperty(request, response);
System\ServiceModel\Channels\FramingChannels.cs (2)
165SecurityMessageProperty security = this.Channel.RemoteSecurity; 381message.Properties.Security = (SecurityMessageProperty)this.RemoteSecurity.CreateCopy();
System\ServiceModel\Channels\HttpChannelFactory.cs (3)
355internal virtual SecurityMessageProperty CreateReplySecurityProperty(HttpWebRequest request, 373SecurityMessageProperty CreateMutuallyAuthenticatedReplySecurityProperty(HttpWebResponse response) 382SecurityMessageProperty remoteSecurity = new SecurityMessageProperty();
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3294SecurityMessageProperty securityProperty = factory.CreateReplySecurityProperty(webRequest, webResponse);
System\ServiceModel\Channels\HttpChannelListener.cs (9)
504public virtual SecurityMessageProperty ProcessAuthentication(IHttpAuthenticationContext authenticationContext) 508SecurityMessageProperty retValue; 538public virtual SecurityMessageProperty ProcessAuthentication(HttpListenerContext listenerContext) 550SecurityMessageProperty ProcessRequiredAuthentication(HttpListenerContext listenerContext) 552SecurityMessageProperty retValue; 640SecurityMessageProperty ProcessAuthentication(HttpListenerBasicIdentity identity) 644SecurityMessageProperty security = new SecurityMessageProperty(); 650SecurityMessageProperty ProcessAuthentication(WindowsIdentity identity, string authenticationType) 655SecurityMessageProperty security = new SecurityMessageProperty();
System\ServiceModel\Channels\HttpRequestContext.cs (4)
28SecurityMessageProperty securityProperty; 123protected abstract SecurityMessageProperty OnProcessAuthentication(); 193message.Properties.Security = (this.securityProperty != null) ? (SecurityMessageProperty)this.securityProperty.CreateCopy() : null; 851protected override SecurityMessageProperty OnProcessAuthentication()
System\ServiceModel\Channels\HttpsChannelFactory.cs (2)
75internal override SecurityMessageProperty CreateReplySecurityProperty(HttpWebRequest request, 78SecurityMessageProperty result = null;
System\ServiceModel\Channels\HttpsChannelListener.cs (6)
142SecurityMessageProperty CreateSecurityProperty(X509Certificate2 certificate, WindowsIdentity identity, string authType) 155SecurityMessageProperty result = new SecurityMessageProperty(); 161public override SecurityMessageProperty ProcessAuthentication(IHttpAuthenticationContext authenticationContext) 165SecurityMessageProperty retValue; 240public override SecurityMessageProperty ProcessAuthentication(HttpListenerContext listenerContext) 244SecurityMessageProperty retValue;
System\ServiceModel\Channels\MessageProperties.cs (5)
19SecurityMessageProperty security; 207public SecurityMessageProperty Security 372this.Security = (properties.Security != null) ? (SecurityMessageProperty)properties.Security.CreateCopy() : null; 416this.Security = (properties.Security != null) ? (SecurityMessageProperty)properties.Security.CreateCopy() : null; 681Security = (SecurityMessageProperty)CreateCopyOfPropertyValue(value);
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (4)
174internal SecurityMessageProperty ValidateSecurity(MsmqInputMessage msmqMessage) 176SecurityMessageProperty result = null; 188SecurityMessageProperty security = new SecurityMessageProperty(); 219SecurityMessageProperty security = new SecurityMessageProperty();
System\ServiceModel\Channels\MsmqDecodeHelper.cs (4)
144SecurityMessageProperty securityProperty = listener.ValidateSecurity(msmqMessage); 247SecurityMessageProperty securityProperty = null; 297message.Properties.Security = (SecurityMessageProperty)securityProperty.CreateCopy(); 365SecurityMessageProperty securityProperty = listener.ValidateSecurity(msmqMessage);
System\ServiceModel\Channels\ServerWebSocketTransportDuplexSessionChannel.cs (1)
62internal void SetWebSocketInfo(WebSocketContext webSocketContext, RemoteEndpointMessageProperty remoteEndpointMessageProperty, SecurityMessageProperty handshakeSecurityMessageProperty, byte[] innerBuffer, bool shouldDisposeWebSocketAfterClosed, HttpRequestMessage requestMessage)
System\ServiceModel\Channels\SessionConnectionReader.cs (5)
634SecurityMessageProperty clientSecurity = securityUpgradeAcceptor.GetRemoteSecurity(); 655static string GetIdentityNameFromContext(SecurityMessageProperty clientSecurity) 1118SecurityMessageProperty security; 1124int offset, int size, SecurityMessageProperty security) 1490message.Properties.Security = (SecurityMessageProperty)security.CreateCopy();
System\ServiceModel\Channels\SingletonConnectionReader.cs (7)
39SecurityMessageProperty security; 104public SecurityMessageProperty Security 860SecurityMessageProperty clientSecurity = securityUpgradeAcceptor.GetRemoteSecurity(); 881static string GetIdentityNameFromContext(SecurityMessageProperty clientSecurity) 1045SecurityMessageProperty security; 1053protected SingletonConnectionReader(IConnection connection, int offset, int size, SecurityMessageProperty security, 1169message.Properties.Security = (this.security != null) ? (SecurityMessageProperty)this.security.CreateCopy() : null;
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (11)
562SecurityMessageProperty clientSecurity; 591protected override Stream OnAcceptUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity) 637protected override Stream OnEndAcceptUpgrade(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 677public override SecurityMessageProperty GetRemoteSecurity() 737protected override SecurityMessageProperty ValidateCreateSecurity() 742public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity, out ChannelBinding channelBinding) 754SecurityMessageProperty serverSecurity; 900out SecurityMessageProperty remoteSecurity) 905protected override Stream OnInitiateUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity) 1043protected override SecurityMessageProperty ValidateCreateSecurity() 1048public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity, out ChannelBinding channelBinding)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (5)
89ClientFramingDecoder decoder, out SecurityMessageProperty remoteSecurity) 158SecurityMessageProperty remoteSecurity; 171public SecurityMessageProperty RemoteSecurity 205SecurityMessageProperty remoteSecurity; 237public static IConnection End(IAsyncResult result, out SecurityMessageProperty remoteSecurity)
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptor.cs (1)
15public abstract SecurityMessageProperty GetRemoteSecurity(); // works after call to AcceptUpgrade
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorAsyncResult.cs (3)
14SecurityMessageProperty remoteSecurity; 71public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 107protected abstract SecurityMessageProperty ValidateCreateSecurity();
System\ServiceModel\Channels\StreamSecurityUpgradeAcceptorBase.cs (4)
12SecurityMessageProperty remoteSecurity; 77public override SecurityMessageProperty GetRemoteSecurity() 83protected abstract Stream OnAcceptUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity); 86out SecurityMessageProperty remoteSecurity);
System\ServiceModel\Channels\StreamSecurityUpgradeInitiator.cs (2)
15public abstract SecurityMessageProperty GetRemoteSecurity(); // works after call to AcceptUpgrade 17internal static SecurityMessageProperty GetRemoteSecurity(StreamUpgradeInitiator upgradeInitiator)
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorAsyncResult.cs (3)
14SecurityMessageProperty remoteSecurity; 74public static Stream End(IAsyncResult result, out SecurityMessageProperty remoteSecurity) 111protected abstract SecurityMessageProperty ValidateCreateSecurity();
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorBase.cs (4)
14SecurityMessageProperty remoteSecurity; 75public override SecurityMessageProperty GetRemoteSecurity() 128out SecurityMessageProperty remoteSecurity); 129protected abstract Stream OnInitiateUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity);
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (2)
25SecurityMessageProperty remoteSecurity; 53public SecurityMessageProperty RemoteSecurity
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
504SecurityMessageProperty handshakeSecurityMessageProperty; 945messageProperties.Security = (SecurityMessageProperty)this.handshakeSecurityMessageProperty.CreateCopy();
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (13)
190SecurityMessageProperty clientSecurity; 199protected override Stream OnAcceptUpgrade(Stream stream, out SecurityMessageProperty remoteSecurity) 238out SecurityMessageProperty remoteSecurity) 243SecurityMessageProperty CreateClientSecurity(NegotiateStream negotiateStream, 262public override SecurityMessageProperty GetRemoteSecurity() 296protected override SecurityMessageProperty ValidateCreateSecurity() 390out SecurityMessageProperty remoteSecurity) 395static SecurityMessageProperty CreateServerSecurity(NegotiateStream negotiateStream) 402SecurityMessageProperty result = new SecurityMessageProperty(); 414out SecurityMessageProperty remoteSecurity) 472SecurityMessageProperty remoteSecurity, bool allowNtlm) 523protected override SecurityMessageProperty ValidateCreateSecurity() 525SecurityMessageProperty remoteSecurity = CreateServerSecurity(negotiateStream);
System\ServiceModel\ComIntegration\MessageUtil.cs (1)
25SecurityMessageProperty securityProp;
System\ServiceModel\Dispatcher\AuthenticationBehavior.cs (2)
35SecurityMessageProperty security = SecurityMessageProperty.GetOrCreate(rpc.Request);
System\ServiceModel\Dispatcher\AuthorizationBehavior.cs (2)
38SecurityMessageProperty security = SecurityMessageProperty.GetOrCreate(rpc.Request);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
629SecurityMessageProperty securityContextProperty = rpc.Request.Properties.Security;
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (2)
638void EnsureIncomingIdentity(SecurityMessageProperty property, EndpointAddress address, Message reply) 647SecurityMessageProperty property = reply.Properties.Security;
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
357SecurityMessageProperty securityContextProperty = rpc.Request.Properties.Security;
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (2)
225SecurityMessageProperty securityProperty = request.Properties.Security; 235serviceToken.BootstrapMessageProperty = (securityProperty == null) ? null : (SecurityMessageProperty)securityProperty.CreateCopy();
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
275SecurityMessageProperty serverContextProperty = incomingMessage.Properties.Security;
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (4)
225SecurityMessageProperty security = SecurityMessageProperty.GetOrCreate(message); 235SecurityMessageProperty security = SecurityMessageProperty.GetOrCreate(message);
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (3)
426SecurityMessageProperty securityMessageProperty = OperationContext.Current.IncomingMessageProperties.Security; 763SecurityMessageProperty _securityMessageProperty; 765public SecurityTokenSpecificationEnumerable(SecurityMessageProperty securityMessageProperty)
System\ServiceModel\Security\IdentityVerifier.cs (1)
48SecurityMessageProperty securityContextProperty = null;
System\ServiceModel\Security\MessageSecurityProtocol.cs (4)
183SecurityMessageProperty security = SecurityMessageProperty.GetOrCreate(message); 193SecurityMessageProperty security = SecurityMessageProperty.GetOrCreate(message);
System\ServiceModel\Security\SecurityMessageProperty.cs (3)
178SecurityMessageProperty result = new SecurityMessageProperty(); 208public static SecurityMessageProperty GetOrCreate(Message message) 213SecurityMessageProperty result = null;
System\ServiceModel\Security\SecurityProtocol.cs (5)
496SecurityMessageProperty messageProperty = message.Properties.Security; 503void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> tokens, SecurityTokenAttachmentMode attachmentMode, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 515protected void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> basicTokens, IList<SecurityToken> endorsingTokens, IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 554SecurityMessageProperty supportingTokensProperty = message.Properties.Security; 833SecurityMessageProperty security = message.Properties.Security;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (8)
598internal static ReadOnlyCollection<IAuthorizationPolicy> CreateSecureConversationPolicies(SecurityMessageProperty security, DateTime expirationTime) 603static ReadOnlyCollection<IAuthorizationPolicy> CreateSecureConversationPolicies(SecurityMessageProperty security, ReadOnlyCollection<IAuthorizationPolicy> currentTokenPolicies, DateTime expirationTime) 666SecurityMessageProperty securityProperty = request.Properties.Security; 715newToken.BootstrapMessageProperty = (securityProperty == null) ? null : (SecurityMessageProperty)securityProperty.CreateCopy(); 740static SecurityTokenSpecification GetMatchingEndorsingSct(SecurityContextKeyIdentifierClause sctSkiClause, SecurityMessageProperty supportingTokenProperty) 768SecurityMessageProperty supportingTokenProperty = request.Properties.Security; 830internal static void RemoveCachedTokensIfRequired(SecurityMessageProperty security) 966SecurityMessageProperty securityProperty = request.Properties.Security;
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
715SecurityMessageProperty serverContextProperty = response.Properties.Security; 775SecurityMessageProperty supportingTokenProperty = new SecurityMessageProperty();
System\ServiceModel\Security\SecuritySessionServerSettings.cs (2)
1364SecurityContextSecurityToken GetSessionToken(SecurityMessageProperty securityProperty) 1390SecurityMessageProperty securityProperty = message.Properties.Security;
System\ServiceModel\Security\SecurityUtils.cs (1)
1401internal static void ErasePasswordInUsernameTokenIfPresent(SecurityMessageProperty messageProperty)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
920SecurityMessageProperty security = new SecurityMessageProperty();
System\ServiceModel\Security\Tokens\SecurityContextSecurityToken.cs (4)
30SecurityMessageProperty bootstrapMessageProperty; 66this.bootstrapMessageProperty = (sourceToken.bootstrapMessageProperty == null) ? null : (SecurityMessageProperty)sourceToken.BootstrapMessageProperty.CreateCopy(); 89this.bootstrapMessageProperty = (from.bootstrapMessageProperty == null) ? null : (SecurityMessageProperty)from.BootstrapMessageProperty.CreateCopy(); 106public SecurityMessageProperty BootstrapMessageProperty
System\ServiceModel\Security\TransportSecurityProtocol.cs (2)
201SecurityMessageProperty security = SecurityMessageProperty.GetOrCreate(message);
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
101SecurityMessageProperty msgProperty = requestContext.RequestMessage.Properties.Security;
System\ServiceModel\ServiceAuthorizationManager.cs (1)
56SecurityMessageProperty security = operationContext.IncomingMessageProperties.Security;
System\ServiceModel\ServiceSecurityContext.cs (1)
81SecurityMessageProperty security = properties.Security;
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedHttpContext.cs (1)
61protected override SecurityMessageProperty OnProcessAuthentication()