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

Enabling anonymous users does not accept default user roles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.2.0.Final
    • 1.1.0.Final
    • JCR
    • None
    • Hide

      Set up the configuration to not use JAAS, but do not set the ANONYMOUS_USER_ROLES option. Then, attempting to log in using Repository.login() and read the root node will result in an exception. Explicitly setting the ANONYMOUS_USER_ROLES option in the configuration makes everything work.

      Show
      Set up the configuration to not use JAAS, but do not set the ANONYMOUS_USER_ROLES option. Then, attempting to log in using Repository.login() and read the root node will result in an exception. Explicitly setting the ANONYMOUS_USER_ROLES option in the configuration makes everything work.
    • Hide

      The workaround is to explicitly set the ANONYMOUS_USER_ROLES option in the configuration file or via the configuration API.

      Show
      The workaround is to explicitly set the ANONYMOUS_USER_ROLES option in the configuration file or via the configuration API.
    • Low

    Description

      When attempting to configure a repository to allow anonymous users, the default value for the ANONYMOUS_USER_ROLES option is "admin", but this default value does not appear to be used and requires the explicit setting of this option in the configuration.

      Attachments

        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: