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

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

    Summary: Session.getAttributes( ) call always returns an empty array  (was: 
bug in JCR API Session.getAttributes( ) call)

> Session.getAttributes( ) call always returns an empty array
> -----------------------------------------------------------
>
>                 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.

Reply via email to