jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-50) Implement User Management
Date Thu, 30 Aug 2012 14:57:07 GMT

    [ https://issues.apache.org/jira/browse/OAK-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444992#comment-13444992
] 

Chetan Mehrotra commented on OAK-50:
------------------------------------

Couple of minor issues in user management area
* A null check for intermediatePath in o.a.j.oak.jcr.security.user.UserManagerImpl#createUser
is required
* o.a.j.oak.security.user.UserProviderImpl#getAuthorizableByPrincipal - 
{noformat}
-                Iterator rows = result.getRows().iterator();
+                Iterator<? extends ResultRow> rows = result.getRows().iterator();
                 if (rows.hasNext()) {
-                    String path = rows.next().toString();
+                    String path = rows.next().getPath();
                     authorizableTree = root.getTree(path);
                 }
 
                
> Implement User Management
> -------------------------
>
>                 Key: OAK-50
>                 URL: https://issues.apache.org/jira/browse/OAK-50
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: core, jcr
>            Reporter: angela
>            Assignee: angela
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message