Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1802

Disabling an authenticator results in a NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0-M10
    • 2.0.0-M11
    • None
    • None

    Description

      If we disable an authenticator by modifying the ads-enabled value (for instance, disabling the SimpleAuthenticator), we get a NPE in :

      java.lang.NullPointerException
      at org.apache.directory.server.core.authn.AuthenticationInterceptor.register(AuthenticationInterceptor.java:267)
      at org.apache.directory.server.core.authn.AuthenticationInterceptor.init(AuthenticationInterceptor.java:177)
      at org.apache.directory.server.core.DefaultDirectoryService.initInterceptors(DefaultDirectoryService.java:726)
      at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1863)
      at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1272)
      at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:315)
      at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:179)
      at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
      at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: