Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-861

Add JCR descriptor to allow users to get names of workspaces through standard API

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.4.0.Final, 2.2.1.GA
    • None
    • None
    • None

    Description

      We previously added a custom JCR repository descriptor so JCR clients can get the name of a repository through the standard API. Getting the names of the workspaces is only possible by connecting (and authenticating) to one of the workspaces. We should add another custom descriptor to get the available workspace names.

      One possible issue with doing this is that the workspace names will not take into consideration whether a user will be able to connect. Not sure if this is considered a security violation (because it's not quite the same thing as an authentication challenge responding that the username is correct but the password is not).

      A benefit of doing this is that the JOPR plugin can expose the available workspace names for a repository. Without this feature, we either need a public API method, otherwise JOPR (actually the managed objects in 'modeshape-jbossas-service') would need to establish a JCR Session to get the workspace names.

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: