You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
After log in to Briefcase with correct Aggregate credentials they are cached and it enables the user to log in with invalid credentials after resetting the connection.
Steps to reproduce the problem
Run Briefcase
Connect to the server with correct credentials on Pull tab
Reset connection
Configure connection again, use the same aggregate's URL but some wrong/non-existing/ no credential and click on connect button.
Expected behavior
It shouldn't be able to log in with invalid/non-existing credentials. Credentials should not be cached.
Other information
Aggregate should have anonymous access option turned off.
The issue does not occur with Central.
the initially identified issue: getodk/briefcase#481
Assuming that Aggregate is returning some type of token that is being sent in subsequent requests, then briefcase could store that token in a map using a hash of the credentials that are configured in the username/password fields for the server. So long as the creds remain untouched, continuously looking up the token using that key will work fine. If the user changes the creds, the key won't be found and briefcase will have to establish a new session using the new creds so if they are bad, the user will not be able to log back in using the token that was associated with the correct creds.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Software and hardware versions
Windows/Linux/macOS, Aggregate v2.0, 1.7 Java vx.x.x, ...
Problem description
After log in to Briefcase with correct Aggregate credentials they are cached and it enables the user to log in with invalid credentials after resetting the connection.
Steps to reproduce the problem
Expected behavior
It shouldn't be able to log in with invalid/non-existing credentials. Credentials should not be cached.
Other information
Aggregate should have anonymous access option turned off.
The issue does not occur with Central.
the initially identified issue: getodk/briefcase#481
cc @ggalmazor
The text was updated successfully, but these errors were encountered: