Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1932

Session.getAttributes( ) call always returns an empty array

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9, 1.0, 1.1, 1.2.1, 1.3, 1.4, 1.5, 1.5.2
    • 1.6
    • jackrabbit-core
    • None

    Description

      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.

      Attachments

        1. bug.txt
          0.6 kB
          alessandro cosenza

        Activity

          People

            jukkaz Jukka Zitting
            alex1985 alessandro cosenza
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: