View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005630 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2020-05-08 06:34 | 2020-05-22 14:32 |
Reporter | Lauri Saurus | Assigned To | Sebastian Allmendinger | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.04.09.394 | ||||
Fixed in Version | 1.03.341.396 | ||||
Summary | 0005630: Security User Name Password 005.js: incorrect parameters for ActivateSessionHelper.Execute | ||||
Description | There is a bug in test script Security -> Security User Name Password -> 005.js. When the session is activated at line 34, there are two nested UaUserIdentityToken.FromUserCredentials calls. Also the ServiceResult parameter is passed as an argument for the UaUserIdentityToken.FromUserCredentials instead of ActivateSessionHelper.Execute as I think it should be. The test case may seem to work because it will pass if the ActivateSession returns Good service result. Since parameters are passed incorrectly it will use some default credentials and endpoint for the connection which works in most cases. I noticed it failing after I fixed our server to have unique PolicyId for each UserTokenPolicy. The picked default credentials did not match with the requested UserTokenPolicy and the test failed. Then I started looking into the test case more accurately. | ||||
Steps To Reproduce | Just run the test Security -> Security User Name Password -> 005.js. See description field. | ||||
Additional Information | I attached an image illustrating required code changes to make the test work correctly. | ||||
Tags | Security | ||||
Attached Files | |||||
Files Affected | |||||
|
The issue was reproducible and the reporter's analysis is correct. |
|
reviewed in CMP call |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-05-08 06:34 | Lauri Saurus | New Issue | |
2020-05-08 06:34 | Lauri Saurus | Tag Attached: Security | |
2020-05-08 06:34 | Lauri Saurus | File Added: 005.PNG | |
2020-05-08 16:29 | Paul Hunkar | Assigned To | => Sebastian Allmendinger |
2020-05-08 16:29 | Paul Hunkar | Status | new => assigned |
2020-05-08 18:37 | Sebastian Allmendinger | Status | assigned => resolved |
2020-05-08 18:37 | Sebastian Allmendinger | Resolution | open => fixed |
2020-05-08 18:37 | Sebastian Allmendinger | Fixed in Version | => 1.03.341.396 |
2020-05-08 18:37 | Sebastian Allmendinger | Note Added: 0012043 | |
2020-05-22 14:32 | Paul Hunkar | Status | resolved => closed |
2020-05-22 14:32 | Paul Hunkar | Note Added: 0012096 |