Tobias Bocanegra created OAK-1984:
-------------------------------------
Summary: Repository.login(creds).getUserId() should return the
'real' user's id.
Key: OAK-1984
URL: https://issues.apache.org/jira/browse/OAK-1984
Project: Jackrabbit Oak
Issue Type: Bug
Reporter: Tobias Bocanegra
Session.getUserId() uses ContentSession.getAuthInfo().getUserId() which returns
the user id passed in the simple credentials during login.
since the user-lookup is case insensitive, the Session.getUserId() might not be
equal to authorizable.getId().
* Session.getUserID() should always return the user.getId()
* add new method: AuthInfo.getLoginId() to internally remember the id used
during login.
--
This message was sent by Atlassian JIRA
(v6.2#6252)