View Issue Details

IDProjectCategoryView StatusLast Update
0004365Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-07 11:39
Reporter17zhangw Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.340.380 
Target Version1.03Fixed in Version1.03.341.381 
Summary0004365: Session Base Err-001.js
Description

The CTT is configured to use MessageSecurityMode = None and RequestedSecurityPolicyUri = None however the channel being used to connect to the server for this test is Basic256. The problem is with the function below that is used during ActivateSession:

function buildAnonymousIdentityToken( session, overrides ) {
var obj = new UaExtensionObject();
var policy = parseInt( readSetting( "/Server Test/Secure Channel/RequestedSecurityPolicyUri" ) );
var securityPolicyUri = SecurityPolicy.policyToString( policy );

Since the server checks whether the policyId presented is correct, this function will select the wrong policyId (the policyId for Anonymous login over None as opposed to the policyId for Anonymous login over Basic256).

Additional Information

A possible resolution to this could be adjusting the buildAnonymousIdentityToken to account for the specific channel/endpoint that is being used and/or manually attaching a PolicyId key to the call made to UaUserIdentityToken.FromUserCredentials in ActivateSession.js Line 76.

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2018-10-29 20:13

developer   ~0009500

Script now uses the configured UserIdentityToken assigned to this specific endpoint.

Paul Hunkar

2019-08-07 11:39

administrator   ~0010699

reviewed in CMP call 8/1/2019

Issue History

Date Modified Username Field Change
2018-08-07 18:21 17zhangw New Issue
2018-08-09 11:51 Paul Hunkar Assigned To => Alexander Allmendinger
2018-08-09 11:51 Paul Hunkar Status new => assigned
2018-10-29 20:13 Alexander Allmendinger Note Added: 0009500
2018-10-29 20:13 Alexander Allmendinger Status assigned => resolved
2018-10-29 20:13 Alexander Allmendinger Fixed in Version => 1.03.341.381
2018-10-29 20:13 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-07 11:39 Paul Hunkar Status resolved => closed
2019-08-07 11:39 Paul Hunkar Note Added: 0010699
2019-08-07 11:39 Paul Hunkar Target Version => 1.03