Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove joinsession #63

Merged
merged 3 commits into from
Dec 6, 2022
Merged

Remove joinsession #63

merged 3 commits into from
Dec 6, 2022

Conversation

dominikl
Copy link
Member

@dominikl dominikl commented May 13, 2022

Following discussion ome/openmicroscopy#6319 . Removes the calls to client.joinSession, only client.createSession is used. The check for session id login is kept, because the gateway uses it to decide if the session can be closed on disconnect.

The implications for clients are:

  • Gateway.joinSession method doesn't exist any longer
  • For session ID login the ID has to be passed as username and password. Before username was enough.

(replaces #62 )

@jburel
Copy link
Member

jburel commented May 27, 2022

For session ID login the ID has to be passed as username and password. Before username was enough.
Insight has not been modified to match that statement.

@dominikl
Copy link
Member Author

Not quite sure what you mean. Insight will be the same, you have to use the id as username and password. I just still had to update the tooltip, which said use it only for the username (ome/omero-insight#296 )

@jburel
Copy link
Member

jburel commented May 27, 2022

in insight you only need to put the sessionID as username I think. I need to double-check

@dominikl
Copy link
Member Author

Not with this PR. The check if a username is a session id was dealt with in the gateway.

@dominikl dominikl requested a review from jburel November 30, 2022 08:19
@jburel
Copy link
Member

jburel commented Nov 30, 2022

the joinSession method has been deprecated for a while. The change makes sense.

@jburel jburel merged commit 7b6112e into ome:master Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants