You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "alessandro cosenza (JIRA)" <ji...@apache.org> on 2009/01/09 16:40:59 UTC

[jira] Updated: (JCR-1932) bug in JCR API Session.getAttributes( ) call

     [ https://issues.apache.org/jira/browse/JCR-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

alessandro cosenza updated JCR-1932:
------------------------------------

    Attachment: bug.txt

> bug in JCR API Session.getAttributes( ) call
> --------------------------------------------
>
>                 Key: JCR-1932
>                 URL: https://issues.apache.org/jira/browse/JCR-1932
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: JCR API
>            Reporter: alessandro cosenza
>         Attachments: bug.txt
>
>
> Repository repository = new RMIRemoteRepository("//localhost:1099/jackrabbit.repository");
> SimpleCredentials c = new SimpleCredentials("alex","ok".toCharArray());
> c.setAttribute("anAttribute", "aValue");
> Session s = repository.login(c, "aWorkspace");
> String[]attr=s.getAttributeNames();
> array attr is empty.
> according to docs it should contains attributes from the SimpleCredentials object.

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