Skip to content
Snippets Groups Projects
Commit 2dee74b9 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Added debugging code to find a bug only occurring on the production

server.
parent dd8d6875
Branches
Tags
No related merge requests found
......@@ -66,7 +66,11 @@ public class UserService implements IUserService, InitializingBean, DisposableBe
usernames.size(), user2sessionLegacy.size()
);
for (Entry<User, String> e : user2sessionLegacy.entrySet()) {
if (usernames.contains(e.getKey().getUsername())) {
User key = e.getKey();
LOGGER.debug("key: {}", key);
String username = key.getUsername();
LOGGER.debug("username: {}", username);
if (usernames.contains(username)) {
LOGGER.debug("Removing user {} from user2sessionLegacy", e.getKey());
user2sessionLegacy.remove(e.getKey());
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment