Session.getUserID returns first principal in the set obtained from 
Subject.getPrincipals()
------------------------------------------------------------------------------------------

                 Key: JCR-1622
                 URL: https://issues.apache.org/jira/browse/JCR-1622
             Project: Jackrabbit
          Issue Type: Bug
          Components: security
            Reporter: angela
            Assignee: angela
            Priority: Minor
             Fix For: 1.5


this may lead to a wrong value for the UserID (e.g. the name of a Group 
principal).

jsr 170 defines the getUserID() to return " the user ID associated with this 
Session." and implies (javadoc) that the method has a relation to the login.

This issues has already been partially addressed while working on jsr 283 
access control (trunk).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to