Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22377

MongoDB directory must not crash when authenticating an unknown user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.10-HF07, 9.2
    • Component/s: Core MongoDB

      Description

      When authenticating an unknown user we crash with a NPE:

      java.lang.NullPointerException
      	at org.nuxeo.directory.mongodb.MongoDBSession.authenticate(MongoDBSession.java:433)
      

      This is especially problematic when the MongoDB directory is used as the first source in a Multi-Directory setup.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h