View Issue Details

IDProjectCategoryView StatusLast Update
0009287CTT UA Scripts1 - Script Issuepublic2023-11-29 06:05
ReporterSebastian Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.505 
Fixed in Version1.03.506 
Summary0009287: CTT may use wrong PolicyId if multiple SecureChannels are opened
Description

The CTT stores the endpoint information of the latest connection establishment in a global object.
If a test script opens multiple SecureChannel with different endpoints, and then tries to create another session in one of the first SecureChannels, this may fail if the server provides different UserIdentityTokens for each endpoint. In that case the CTT may take the PolicyId from the wrong endpoint which result in an error when activating the session: BadIdentityTokenInvalid

TagsNo tags attached.
Files Affected

/library/Base/identity.js

Activities

Sebastian Allmendinger

2023-11-28 14:57

developer   ~0020427

Instead of using the stored information, the CTT now first check the endpoint information in the passed Session object.
In addition, the code has been enhanced to also check for the correct SecurityMode in the endpoint before using the found PolicyId.

Paul Hunkar

2023-11-29 06:05

administrator   ~0020454

reviewed - agreed to change and closed

Issue History

Date Modified Username Field Change
2023-11-27 15:56 Sebastian Allmendinger New Issue
2023-11-27 15:58 Paul Hunkar Assigned To => Sebastian Allmendinger
2023-11-27 15:58 Paul Hunkar Status new => assigned
2023-11-28 14:07 Sebastian Allmendinger Files Affected => /library/Base/identity.js
2023-11-28 14:57 Sebastian Allmendinger Status assigned => resolved
2023-11-28 14:57 Sebastian Allmendinger Resolution open => fixed
2023-11-28 14:57 Sebastian Allmendinger Note Added: 0020427
2023-11-29 06:05 Paul Hunkar Status resolved => closed
2023-11-29 06:05 Paul Hunkar Fixed in Version => 1.03.506
2023-11-29 06:05 Paul Hunkar Note Added: 0020454