Emmanuel Lecharny created DIRSERVER-1802:
--------------------------------------------

             Summary: Disabling an authenticator results in a NPE
                 Key: DIRSERVER-1802
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1802
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M10
            Reporter: Emmanuel Lecharny
            Priority: Critical
             Fix For: 2.0.0-M11


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)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to