System\ServiceModel\Security\SecuritySessionServerSettings.cs (24)
1167this.securityProtocol = this.Settings.SessionProtocolFactory.CreateSecurityProtocol(null, null, listenerSecurityProtocolState, true, TimeSpan.Zero);
1262this.Settings.SessionTokenCache.RemoveAllContexts(this.currentSessionToken.ContextId);
1315this.Settings.SessionTokenCache.RemoveAllContexts(this.currentSessionToken.ContextId);
1342if (this.futureSessionTokens.Count == this.Settings.MaximumPendingKeysPerSession)
1440this.Settings.SessionTokenCache.RemoveContext(futureSessionTokens[i].ContextId, futureSessionTokens[i].KeyGeneration);
1774if (message.Headers.Action == this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseAction.Value)
1782else if (message.Headers.Action == this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction.Value)
1933rst = this.Settings.SecurityStandardsManager.TrustDriver.CreateRequestSecurityToken(bodyReader);
1936if (rst.RequestType != null && rst.RequestType != this.Settings.SecurityStandardsManager.TrustDriver.RequestTypeClose)
1949RequestSecurityTokenResponse rstr = new RequestSecurityTokenResponse(this.Settings.SecurityStandardsManager);
1954if (this.Settings.SecurityStandardsManager.MessageSecurityVersion.TrustVersion == TrustVersion.WSTrust13)
1958RequestSecurityTokenResponseCollection rstrc = new RequestSecurityTokenResponseCollection(rstrList, this.Settings.SecurityStandardsManager);
1961Message response = Message.CreateMessage(request.Version, ActionHeader.Create(this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseResponseAction, request.Version.Addressing), bodyWriter);
2062RequestSecurityToken rst = new RequestSecurityToken(this.Settings.SecurityStandardsManager);
2063rst.RequestType = this.Settings.SecurityStandardsManager.TrustDriver.RequestTypeClose;
2064rst.CloseTarget = this.Settings.IssuedSecurityTokenParameters.CreateKeyIdentifierClause(this.currentSessionToken, SecurityTokenReferenceStyle.External);
2066Message closeMessage = Message.CreateMessage(this.messageVersion, ActionHeader.Create(this.Settings.SecurityStandardsManager.SecureConversationDriver.CloseAction, this.messageVersion.Addressing), rst);
2353this.channel.Settings.SessionTokenCache.RemoveAllContexts(this.channel.currentSessionToken.ContextId);
2881this.Settings.RemoveSessionChannel(this.session.Id);
2889this.Settings.RemoveSessionChannel(this.session.Id);
2896this.Settings.RemoveSessionChannel(this.session.Id);
3659this.Settings.RemoveSessionChannel(this.session.Id);
3700this.Settings.RemoveSessionChannel(this.session.Id);
3708this.Settings.RemoveSessionChannel(this.session.Id);