Case testDegenerateUseRestSecurity001

Case testDegenerateUseRestSecurity001

Overview

Test case for degenerate use of the REST security service authenticate method. 

Assumptions

  • Test harness is called with a run.config having ihtsdo.security.activated=false

  • Test harness is configured to connect to a database having a "demo_lead" map user.

Procedure 1

  • Authenticate "demo_lead" without a null password

    • TEST: authentication throws exception

  • Authenticate "not-a-real-user" user with any password

    • TEST: authentication throws an exception

  • Authenticate null with any password

    • TEST: authentication throws an exception

Expected Runtime

  • < 1 sec

Notes

  • n/a

Copyright © 2026, SNOMED International