View Issue Details

IDProjectCategoryView StatusLast Update
0009429Compliance Test Tool (CTT) Unified Architecture5 - General Problempublic2024-09-20 11:30
ReporterThomas Merk Assigned ToPaul Hunkar  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version1.04.11-01.00.506 
Summary0009429: Security - User - Anonymous - 002.js
Description

Script expects service result BadIdentityTokenRejected

The UserIdentityToken contains a poilcy ID which is not exposed by server e.g. "Anonymous_Channel" but the server exposes "Anonymous".
From my point of view this is an invalid UserIdentity and the server should return BadIdentityTokenInvalid.

In general it is not clearly stated in part 4 - ActivateSession in which cases the service results shall be used

  • Bad_IdentityTokenInvalid
  • Bad_IdentityTokenRejected
  • Bad_UserAccessDenied
    In general I would assume that "Bad_UserAccessDenied" can be completely omitted and "Bad_IdentityTokenRejected " should be used for these cases.
    Since part 4 does not cleary state the usage, CTT should accept more than exatcly one result.

At least our server returns

  • Bad_IdentityTokenInvalid if the token type is not supported (e.g. IssuedToken)
  • Bad_IdentityTokenRejected if a X509 certificate user certificate is not trusted
  • Bad_IdentityTokenInvalid if an empty username is provided (I assume this special handling was introduced for CTT)
  • Bad_UserAccessDenied if a username / password is invalid / not known
  • Bad_IdentityTokenInvalid if an unkown policy ID is provided

All service results are accepted by CTT - except the last one (as far as I know issued token are not tested).
If would be easy to adapt our server to the expected BadIdentityTokenRejected, but from my point of view the token is anvalid (similar to not supported token type).

TagsNo tags attached.
Files Affected

Activities

Thomas Merk

2024-02-21 15:31

reporter   ~0020850

Sorry, I misunderstood the results (and mixed output with 003).

The test case excpects that activate session succeeds, but CTT uses wrong policyId for Anonymous user identity - no idea why.

Paul Hunkar

2024-09-20 11:30

administrator   ~0021757

We think this was fixed in 508 - can you please check?

Issue History

Date Modified Username Field Change
2024-02-21 10:47 Thomas Merk New Issue
2024-02-21 15:31 Thomas Merk Note Added: 0020850
2024-09-20 11:30 Paul Hunkar Assigned To => Paul Hunkar
2024-09-20 11:30 Paul Hunkar Status new => feedback
2024-09-20 11:30 Paul Hunkar Note Added: 0021757