Closed dominikl closed 2 years ago
insight connected using session key
👍 I have to add this case to the integration test too.
It works the first time but not the second time
SecurityViolation: 1 methods active.
Edit: actually it worked twice in a row then failed!
Integration test: https://github.com/ome/openmicroscopy/pull/6319
Thanks @jburel . I think that should be all cases covered now. Should now somehow be tested together with the integration test.
Taking the discussions https://github.com/ome/openmicroscopy/pull/6319 into account:
Instead of the proposed changes, shall I rather remove all calls to joinSession()
and use only createSession()
? This means all checks if a username is a session id can be removed too. But also implies, that if you want to login with a session id, you have to provide it as username and password. At the moment you only have to provide it as username (same for Insight).
Bugfix for https://github.com/ome/omero-insight/issues/293 .