2 writes to currentSessionToken
System.ServiceModel (2)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (2)
1173
this.
currentSessionToken
= sessionToken;
1427
this.
currentSessionToken
= futureSessionTokens[i];
21 references to currentSessionToken
System.ServiceModel (21)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (21)
1262
this.Settings.SessionTokenCache.RemoveAllContexts(this.
currentSessionToken
.ContextId);
1315
this.Settings.SessionTokenCache.RemoveAllContexts(this.
currentSessionToken
.ContextId);
1338
if (supportingToken.ContextId != this.
currentSessionToken
.ContextId || supportingToken.KeyGeneration != this.
currentSessionToken
.KeyGeneration)
1340
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.CurrentSessionTokenNotRenewed, supportingToken.KeyGeneration, this.
currentSessionToken
.KeyGeneration)));
1417
if (this.futureSessionTokens.Count > 0 && incomingToken.KeyGeneration != this.
currentSessionToken
.KeyGeneration)
1426
this.settings.SessionTokenCache.UpdateContextCachingTime(this.
currentSessionToken
, keyRolloverTime);
1429
((IAcceptorSecuritySessionProtocol)this.securityProtocol).SetOutgoingSessionToken(this.
currentSessionToken
);
1436
SecurityTraceRecordHelper.TraceServerSessionKeyUpdated(this.
currentSessionToken
, GetLocalUri());
1776
SecurityTraceRecordHelper.TraceServerSessionCloseReceived(this.
currentSessionToken
, GetLocalUri());
1784
SecurityTraceRecordHelper.TraceServerSessionCloseResponseReceived(this.
currentSessionToken
, GetLocalUri());
1825
if (this.
currentSessionToken
.KeyExpirationTime < DateTime.UtcNow)
1915
SecurityTraceRecordHelper.TraceSessionRenewalFaultSent(this.
currentSessionToken
, GetLocalUri(), message);
1919
SecurityTraceRecordHelper.TraceRenewFaultSendFailure(this.
currentSessionToken
, GetLocalUri(), e);
1923
SecurityTraceRecordHelper.TraceRenewFaultSendFailure(this.
currentSessionToken
, GetLocalUri(), e);
1979
SecurityTraceRecordHelper.TraceSessionClosedResponseSent(this.
currentSessionToken
, GetLocalUri());
1984
SecurityTraceRecordHelper.TraceSessionClosedResponseSendFailure(this.
currentSessionToken
, GetLocalUri(), e);
1989
SecurityTraceRecordHelper.TraceSessionClosedSent(this.
currentSessionToken
, GetLocalUri());
1994
SecurityTraceRecordHelper.TraceSessionCloseSendFailure(this.
currentSessionToken
, GetLocalUri(), e);
2064
rst.CloseTarget = this.Settings.IssuedSecurityTokenParameters.CreateKeyIdentifierClause(this.
currentSessionToken
, SecurityTokenReferenceStyle.External);
2353
this.channel.Settings.SessionTokenCache.RemoveAllContexts(this.channel.
currentSessionToken
.ContextId);