mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
add comment in zeppelinhubRealm about saving user session in a singleton map
This commit is contained in:
parent
5931ab693e
commit
a8aeb51899
1 changed files with 2 additions and 0 deletions
|
|
@ -161,6 +161,8 @@ public class ZeppelinHubRealm extends AuthorizingRealm {
|
|||
ZeppelinServer.notebookWsServer.broadcastReloadedNoteList(
|
||||
new org.apache.zeppelin.user.AuthenticationInfo(account.login), userAndRoles);
|
||||
|
||||
// Add ZeppelinHub user_session token this singleton map, this will help ZeppelinHubRepo
|
||||
// to get specific information about the current user.
|
||||
UserSessionContainer.instance.setSession(account.login, userSession);
|
||||
return account;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue