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/12 09:52:59 UTC

[jira] Updated: (JCR-1932) Session.getAttributes( ) call always returns an empty array

     [ 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.