equal
deleted
inserted
replaced
685 """ |
685 """ |
686 session = self._get_session(sessionid, setpool=False) |
686 session = self._get_session(sessionid, setpool=False) |
687 if props is not None: |
687 if props is not None: |
688 self.set_session_props(sessionid, props) |
688 self.set_session_props(sessionid, props) |
689 user = session.user |
689 user = session.user |
690 return user.eid, user.login, user.groups, user.properties |
690 return user.eid, user.cwdb.login, user.groups, user.properties |
691 |
691 |
692 def set_session_props(self, sessionid, props): |
692 def set_session_props(self, sessionid, props): |
693 """this method should be used by client to: |
693 """this method should be used by client to: |
694 * check session id validity |
694 * check session id validity |
695 * update user information on each user's request (i.e. groups and |
695 * update user information on each user's request (i.e. groups and |