You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2014/07/23 18:43:39 UTC
[jira] [Created] (OAK-1984) Repository.login(creds).getUserId()
should return the 'real' user's id.
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)