Case testEdgeCasesRestSecurity002
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
Logout of "guest" user without logging in.
TEST: no exception
Login as "guest" user with "guest" password
Logout of "guest" user without logging in.
Logout of "guest" again user without logging in.
TEST: no exception
Login as "demo_lead" user with any password
Logout of "demo_lead" user without logging in.
Logout of "demo_lead" again user without logging in.
TEST: no exception
Expected Runtime
< 1 sec
Notes
n/a
Copyright © 2026, SNOMED International