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

Root cause is swallowed for AccessControlException in JcrRepository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Final
    • None
    • None
    • None
    • Low

    Description

      In org.modeshape.jcr.JcrRepository on line 944 the correct root cause of a JAAS login exception is swallowed, this makes it hard to find the problem:

      // Need to make sure that the user has access to this session
      try

      { session.checkPermission(workspaceName, null, JcrSession.JCR_READ_PERMISSION); }

      catch (AccessControlException ace)

      { throw new NoSuchWorkspaceException(JcrI18n.workspaceNameIsInvalid.text(sourceName, workspaceName)); }

      Attachments

        Activity

          People

            bcarothers_jira Brian Carothers (Inactive)
            camunda_jira Bernd Ruecker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: