Case testEdgeCasesRestSecurity001

Case testEdgeCasesRestSecurity001

Overview

Test case for edge cases of the REST security service authenticate method. This involves logging out without logging in, then logging out twice, then logging in twice.

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 "guest" user with "guest" password

  • Authenticate "guest" user again with "guest" password

  • TEST: no exception

  • Authenticate "demo_lead" user with any password

  • Authenticate "demo_lead" user again with any password

  • TEST: no exception

Expected Runtime

  • < 1 sec

Notes

  • n/a

Copyright © 2026, SNOMED International