Hi David,

jdo is the database backend. It depends what you are trying to do.
If you just like to authenticate against LDAP and keep user and permission data 
in the database, you should keep it at jdo.

The following entries of your archiva.xml are a bit strange, because they 
should be no list values, which means that there should be only one entry for
baseDn, baseGroupsDn and bindDn in the configuration:
<baseDn>DC=WW</baseDn>
<baseDn>DC=XX</baseDn>
<baseDn>DC=YY</baseDn>
<baseDn>DC=ZZ</baseDn>
<baseGroupsDn>CN=Users</baseGroupsDn>
<baseGroupsDn>DC=WW</baseGroupsDn>
<baseGroupsDn>DC=XX</baseGroupsDn>
<baseGroupsDn>DC=YY</baseGroupsDn>
<baseGroupsDn>DC=ZZ</baseGroupsDn>
<bindDn>CN=USR</bindDn>
<bindDn>CN=Users</bindDn>
<bindDn>DC=WW</bindDn>
<bindDn>DC=XX</bindDn>
<bindDn>DC=YY</bindDn>
<bindDn>DC=ZZ</bindDn>
<password>PWD</password>


Don't know, if this was caused by the configuration UI. 

baseDn is the DN that you want to use as search base for your users (used for 
authentication and for userManagerImpl)
baseGroupsDn, is the DN where your groups can be found (only relevant, if ldap 
is configured as rbacManagerImpl)
bindDn is the DN of the user that is used for all ldap searches, it must be the 
DN of a existing user that has permission to search
the objects under baseDn and baseGroupsDn (this is also used for LDAP 
authentication)
password is the password of the user configured on bindDn


You can have multiple rbac- and userManagerImpl entries, if you like:
<userManagerImpls>
<userManagerImpl>jdo</userManagerImpl>
<userManagerImpl>ldap</userManagerImpl>
</userManagerImpls>
<rbacManagerImpls>
<rbacManagerImpl>jdo</rbacManagerImpl>
<rbacManagerImpl>ldap</rbacManagerImpl>
</rbacManagerImpls>



And there are additional ldap configuration entries in "User Runtime 
Configuration" > "Properties"

For AD you should set at least 
ldap.config.user.attribute=sAMAccountName
ldap.config.mapper.attribute.user.object.class=Person
ldap.config.groups.class=Group

I'm not sure, but I think they are stored in: 
./apps/archiva/WEB-INF/classes/org/apache/archiva/redback-security.properties

Regards

Martin

Am Mittwoch, 1. September 2021, 17:46:26 CEST schrieb Odell, David:
> Martin,
> Thanks for the reply. When I was removing sensitive info from the archiva.xml 
> file I noticed that I had the wrong baseDN specified. Once I changed that the 
> original error below went away. It appears that I am getting a connection to 
> the LDAP (Active Directory in my case).
> Error:
> 2021-09-01 08:17:12,706 [qtp1613611905-30] WARN  
> org.apache.archiva.web.security.ArchivaUserManagerAuthenticator [] - Login 
> for user <my user ID> and userManager jdo failed. user not found. I suspect 
> that the LDAP interface is not looking in the correct place for the user ID 
> (sAMAccountName property in LDAP). If I change one or both of the following  
> to ldap the app does not start up:
> <userManagerImpls>
> <userManagerImpl>jdo</userManagerImpl>
> </userManagerImpls>
> <rbacManagerImpls>
> <rbacManagerImpl>jdo</rbacManagerImpl>
> </rbacManagerImpls>
> 
> Is there a way to start Archiva from Eclipse to allow debugging of issues?
> 
> -----Original Message-----
> From: Martin <[email protected]>
> Sent: Wednesday, September 1, 2021 4:32 AM
> To: [email protected]
> Subject: Re: LDAP connection issue
> 
> Hi,
> 
> this NPE should only occur, if the baseDn is null.
> May I ask for the archiva.xml file that is written? (You should obscure 
> confidential data before sending it).
> Is LDAP Rbac Manager active on the General Tab?
> 
> Could you please check, if there is a archiva.xml in $HOME/.m2 directory?
> 
> Regards
> 
> Martin
> 
> 
> Am Dienstag, 31. August 2021, 19:33:10 CEST schrieb Odell, David:
> > I am attempting to get Archiva connected to Active Directory through its 
> > LDAP address. When click on 'Verify LDAP changes.' Button everything is OK. 
> > When I click on 'Verify LDAP configuration on server side.' I get a failure 
> > message and the wrapper logs:
> > INFO   | jvm 1    | 2021/08/31 10:38:16 | 2021-08-31 
> > 10:38:16.753:WARN:oejs.ServletHandler:/restServices/archivaServices/redbackRuntimeConfigurationService/checkLdapConnection
> > INFO   | jvm 1    | 2021/08/31 10:38:16 | java.lang.RuntimeException: 
> > org.apache.cxf.interceptor.Fault
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:116)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:371)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:251)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:290)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:214)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:265)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.Server.handle(Server.java:370)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > java.lang.Thread.run(Thread.java:748)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 | Caused by:
> > INFO   | jvm 1    | 2021/08/31 10:38:16 | org.apache.cxf.interceptor.Fault
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:163)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:129)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:200)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:251)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:290)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:214)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:265)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.Server.handle(Server.java:370)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > java.lang.Thread.run(Thread.java:748)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 | Caused by:
> > INFO   | jvm 1    | 2021/08/31 10:38:16 | java.lang.NullPointerException
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.archiva.redback.common.ldap.connection.DefaultLdapConnection.<init>(DefaultLdapConnection.java:59)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.archiva.redback.common.ldap.connection.ConfigurableLdapConnectionFactory.getConnection(ConfigurableLdapConnectionFactory.java:114)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.archiva.redback.common.ldap.connection.ConfigurableLdapConnectionFactory.getConnection(ConfigurableLdapConnectionFactory.java:41)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.archiva.rest.services.DefaultRedbackRuntimeConfigurationService.checkLdapConnection(DefaultRedbackRuntimeConfigurationService.java:311)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > java.lang.reflect.Method.invoke(Method.java:498)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:181)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:97)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:200)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:251)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:223)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:197)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:290)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:214)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:265)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.Server.handle(Server.java:370)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
> > INFO   | jvm 1    | 2021/08/31 10:38:16 |               at 
> > java.lang.Thread.run(Thread.java:748)
> >
> > It looks like:
> >     public DefaultLdapConnection( LdapConnectionConfiguration config, Rdn 
> > subRdn )
> >         throws LdapException
> >     {
> >         this.config = config;
> >
> >         LdapName baseDn = new LdapName( config.getBaseDn().getRdns() );
> >
> > config or the baseDn it contains are null. The configuration I am using is 
> > valid as other programs using the same configuration information are 
> > working fine. If I save that information and attempt a login Archiva throws 
> > the same error. If I look into the archiva.xml configuration file the 
> > correct information is there. How would I get around this bug?
> > ________________________________
> >
> > LEGAL DISCLAIMER: This message and all attachments may be confidential or 
> > protected by privilege. If you are not the intended recipient you are 
> > hereby notified that any disclosure, copying, distribution, or use of the 
> > information contained in or attached to this message is strictly 
> > prohibited. Please notify the sender of the delivery error by replying to 
> > this message and then delete it from your system. Thank you.
> >
> 
> 
> ________________________________
> 
> 
> LEGAL DISCLAIMER: This message and all attachments may be confidential or 
> protected by privilege. If you are not the intended recipient you are hereby 
> notified that any disclosure, copying, distribution, or use of the 
> information contained in or attached to this message is strictly prohibited. 
> Please notify the sender of the delivery error by replying to this message 
> and then delete it from your system. Thank you.
> 


Reply via email to