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/01/28 23:59:32 UTC

[jira] [Created] (OAK-1363) TokenLoginModule does not set userId on auth info

Tobias Bocanegra created OAK-1363:
-------------------------------------

             Summary: TokenLoginModule does not set userId on auth info
                 Key: OAK-1363
                 URL: https://issues.apache.org/jira/browse/OAK-1363
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Tobias Bocanegra


the token login module does not set the userid in the authinfo (because it does not know it). and the LoginModuleImpl does not overwrite the AuthInfo if it already exists.

the consequence: {{Session.getUserID()}} returns {{NULL}} for logins that create a token.

I think that the authinfos should be added even if they already exist. and all users of the public credentials need to be aware that authinfos can exist that are not complete.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)