continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patric Lichtsteiner" <list...@lichtsteiner.org>
Subject LDAP authentication in 1.2.2
Date Tue, 23 Dec 2008 13:55:42 GMT

Hi all

I'm trying to migrate my Continuum from 1.1 to 1.2.2. Unfortunately I
have some troubles to migrate the LDAP authentication against our Active
Directory. I get an error message in the continuum log, see the full
stack trace below.
What is going wrong?

Thanks a lot for your help!
Patric

** security.properties:
user.manager.impl=cached
#user.manager.impl=ldap
ldap.bind.authenticator.enabled=true
redback.default.admin=pli
redback.default.guest=usr
security.policy.password.expiration.enabled=false
ldap.config.hostname=x.x.x.x
ldap.config.port=389
ldap.config.base.dn=ou=users,ou=as,dc=aff-p,dc=ch
ldap.config.context.factory=com.sun.jndi.ldap.LdapCtxFactory
ldap.config.bind.dn=cn=svcldap,ou=svcAccounts,dc=aff-p,dc=ch
ldap.config.password=cn=topsecret
#ldap.config.authentication.method=

ldap.config.mapper.attribute.email=mail
ldap.config.mapper.attribute.fullname=name
ldap.config.mapper.attribute.password=userPassword
ldap.config.mapper.attribute.user.id=mailNickname
#ldap.config.mapper.attribute.user.base.dn=ou=users,ou=as,dc=aff-p,dc=ch
ldap.config.mapper.attribute.user.object.class=user
#ldap.config.mapper.attribute.user.filter=(attributeName=value)

** application.xml (only the ldap things)

    <!-- START SNIPPET: ldap -->
    <!--
       Ldap Authentication can be enabled by setting enabling these
components and setting the following configuration options in your
security.properties file

       ============================================================
       user.manager.impl=ldap
       ldap.bind.authenticator.enabled=true
       redback.default.admin=admin
       redback.default.guest=guest
       security.policy.password.expiration.enabled=false

       ldap.config.hostname=ldap.hostname
       ldap.config.port=389
       ldap.config.base.dn=o=com
       ldap.config.context.factory=com.sun.jndi.ldap.LdapCtxFactory
       ldap.config.bind.dn=uid=myusername,o=com
       ldap.config.password=s3cr3t
       #ldap.config.authentication.method=
       ============================================================

       * ldap.config.hostname - The hostname of the ldap server
       * ldap.config.port - The port of the ldap server
       * ldap.config.base.dn - The baseDn of the ldap system
       * ldap.config.context.factory - context factory for ldap
connections
       * ldap.config.bind.dn - the core user used for authentication the
ldap server, must be able to perform the necessary searches, etc.
       * ldap.config.password - password for the bindDn for the root ldap
connection

       until this process is better documented, the following is the
document for configuration ldap with redback

       http://redback.codehaus.org/integration/ldap.html
    -->

    <!--

    this component manages the connection to the ldap server
     -->

    <component>
     
<role>org.codehaus.plexus.redback.common.ldap.connection.LdapConnectionFactory</role>
      <role-hint>configurable</role-hint>
     
<implementation>org.codehaus.plexus.redback.common.ldap.connection.ConfigurableLdapConnectionFactory</implementation>
      <requirements>
        <requirement>
         
<role>org.codehaus.plexus.redback.configuration.UserConfiguration</role>
        </requirement>
      </requirements>
    </component>

  <!--

    this component manages the mapping of attributes in ldap to user
information in redback. To configure the mapping, you can add the
following properties in your security.properties

       ============================================================
       ldap.config.mapper.attribute.email=mail
       ldap.config.mapper.attribute.fullname=givenName
       ldap.config.mapper.attribute.password=userPassword
       ldap.config.mapper.attribute.user.id=cn
       ldap.config.mapper.attribute.user.base.dn=
       ldap.config.mapper.attribute.user.object.class=inetOrgPerson
       ldap.config.mapper.attribute.user.filter=(attributeName=value)
       ============================================================


     * email-attribute - The name of the attribute on a user that
contains the email address
     * full-name-attribute - The name of the attribute on a user that
contains the users fullName
     * password-attribute - The name of the attribute containing the
users password, used for the authentiction using the user manager and
not the ldap bind authenticator
     * user-id-attribute - The name of the attribute containing the users
userId, most commonly cn or sn.
     * user-base-dn - The base dn that will be subtree searched for users.
     * user-object-class - the objectClass used in the ldap server for
indentifying users, most commonly inetOrgPerson.
     -->

    <component>
      <role>org.codehaus.plexus.redback.common.ldap.UserMapper</role>
      <role-hint>ldap</role-hint>
     
<implementation>org.codehaus.plexus.redback.common.ldap.LdapUserMapper</implementation>
      <requirements>
        <requirement>
         
<role>org.codehaus.plexus.redback.configuration.UserConfiguration</role>
        </requirement>
      </requirements>
    </component>

    <!--

    If caching is desired to improve performance then make uncomment this
and make sure the following configuration parameter is in the
security.properties

    user.manager.impl=cached
    -->
  <component>
      <role>org.codehaus.plexus.redback.users.UserManager</role>
      <role-hint>cached</role-hint>
     
<implementation>org.codehaus.plexus.redback.users.cached.CachedUserManager</implementation>
      <description>CachedUserManager</description>
      <requirements>
        <requirement>
          <role>org.codehaus.plexus.redback.users.UserManager</role>
          <role-hint>ldap</role-hint>
          <field-name>userImpl</field-name>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.ehcache.EhcacheComponent</role>
          <role-hint>users</role-hint>
          <field-name>usersCache</field-name>
        </requirement>
      </requirements>
    </component>

    <!--

    if using the user manager authenticator to authenticate the user and
not the ldap bind authenticator make sure
    this definition has the correct password encoder

    Note: you should probably just use the ldap bind authenticator which
is enabled by putting

    ldap.bind.authenticator.enabled=true

    in the security.properties
    -->

    <!-- component>
      <role>org.codehaus.plexus.redback.policy.UserSecurityPolicy</role>
      <role-hint>default</role-hint>
     
<implementation>org.codehaus.plexus.redback.policy.DefaultUserSecurityPolicy</implementation>
      <description>User Security Policy.</description>
      <requirements>
        <requirement>
         
<role>org.codehaus.plexus.redback.configuration.UserConfiguration</role>
          <field-name>config</field-name>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.redback.policy.PasswordEncoder</role>
          <role-hint>sha1</role-hint>
          <field-name>passwordEncoder</field-name>
        </requirement>
        <requirement>
         
<role>org.codehaus.plexus.redback.policy.UserValidationSettings</role>
          <field-name>userValidationSettings</field-name>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.redback.policy.CookieSettings</role>
          <role-hint>rememberMe</role-hint>
          <field-name>rememberMeCookieSettings</field-name>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.redback.policy.CookieSettings</role>
          <role-hint>signon</role-hint>
          <field-name>signonCookieSettings</field-name>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.redback.policy.PasswordRule</role>
          <field-name>rules</field-name>
        </requirement>
      </requirements>
    </component-->
    <!-- END SNIPPET: ldap -->
  </components>


** Continuum log file:
2008-12-23 14:15:13,434 [http-8080-2] INFO 
environmentCheck#continuum-role-profile-check  - Checking roles list.
2008-12-23 14:15:13,543 [http-8080-2] INFO  ldapController  - Searching
for user: usr
2008-12-23 14:15:13,544 [http-8080-2] INFO  ldapController  - Searching
for users with filter: '(&(objectClass=user)(mailNickname=usr))' from
base dn: ou=users,ou=as,dc=aff-p,dc=ch
2008-12-23 14:15:13,544 [http-8080-2] ERROR
com.opensymphony.webwork.dispatcher.DispatcherUtils  - Could not find
action
Caught Exception while registering Interceptor class
redbackEnvironmentCheckInterceptor - interceptor -
file:/opt/apache-tomcat-6.0.16/work/Catalina/localhost/continuum/WEB-INF/classes/xwork-security.xml:31:87
        at
com.opensymphony.xwork.ObjectFactory.buildInterceptor(ObjectFactory.java:171)
        at
com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:56)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:701)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:568)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:581)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:602)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:204)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:675)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:678)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
        at
com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
        at
com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
        at
com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:60)
        at
com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
        at
com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:264)
        at
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at
org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController.searchUsers(DefaultLdapController.java:129)
        at
org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController.getUser(DefaultLdapController.java:181)
        at
org.codehaus.plexus.redback.users.ldap.LdapUserManager.findUser(LdapUserManager.java:214)
        at
org.codehaus.plexus.redback.users.cached.CachedUserManager.findUser(CachedUserManager.java:126)
        at
org.codehaus.plexus.redback.users.configurable.ConfigurableUserManager.findUser(ConfigurableUserManager.java:111)
        at
org.codehaus.plexus.redback.xwork.checks.security.GuestUserEnvironmentCheck.validateEnvironment(GuestUserEnvironmentCheck.java:82)
        at
org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.init(EnvironmentCheckInterceptor.java:77)
        at
com.opensymphony.xwork.ObjectFactory.buildInterceptor(ObjectFactory.java:151)
        ... 34 more
2008-12-23 14:15:13,585 [http-8080-2] INFO 
environmentCheck#continuum-role-profile-check  - Checking roles list.
2008-12-23 14:15:13,709 [http-8080-2] INFO  ldapController  - Searching
for user: usr
2008-12-23 14:15:13,709 [http-8080-2] INFO  ldapController  - Searching
for users with filter: '(&(objectClass=user)(mailNickname=usr))' from
base dn: ou=users,ou=as,dc=aff-p,dc=ch
2008-12-23 14:15:13,710 [http-8080-2] ERROR
com.opensymphony.webwork.components.ActionComponent  - Could not execute
action: /WEB-INF/jsp/error/companyInfo
Caught Exception while registering Interceptor class
redbackEnvironmentCheckInterceptor - interceptor -
file:/opt/apache-tomcat-6.0.16/work/Catalina/localhost/continuum/WEB-INF/classes/xwork-security.xml:31:87
        at
com.opensymphony.xwork.ObjectFactory.buildInterceptor(ObjectFactory.java:171)
        at
com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:56)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:701)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:568)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:581)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:602)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:204)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:675)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:678)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
        at
com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
        at
com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
        at
com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:60)
        at
com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
        at
com.opensymphony.webwork.components.ActionComponent.executeAction(ActionComponent.java:223)
        at
com.opensymphony.webwork.components.ActionComponent.end(ActionComponent.java:127)
        at
com.opensymphony.webwork.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:21)
        at
org.apache.jsp.WEB_002dINF.jsp.error.httpError_jsp._jspx_meth_ww_005faction_005f0(httpError_jsp.java:622)
        at
org.apache.jsp.WEB_002dINF.jsp.error.httpError_jsp._jspx_meth_ww_005fi18n_005f1(httpError_jsp.java:539)
        at
org.apache.jsp.WEB_002dINF.jsp.error.httpError_jsp._jspx_meth_ww_005fi18n_005f0(httpError_jsp.java:195)
        at
org.apache.jsp.WEB_002dINF.jsp.error.httpError_jsp._jspService(httpError_jsp.java:124)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
        at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)
        at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)
        at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:287)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at
org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController.searchUsers(DefaultLdapController.java:129)
        at
org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController.getUser(DefaultLdapController.java:181)
        at
org.codehaus.plexus.redback.users.ldap.LdapUserManager.findUser(LdapUserManager.java:214)
        at
org.codehaus.plexus.redback.users.cached.CachedUserManager.findUser(CachedUserManager.java:126)
        at
org.codehaus.plexus.redback.users.configurable.ConfigurableUserManager.findUser(ConfigurableUserManager.java:111)
        at
org.codehaus.plexus.redback.xwork.checks.security.GuestUserEnvironmentCheck.validateEnvironment(GuestUserEnvironmentCheck.java:82)
        at
org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.init(EnvironmentCheckInterceptor.java:77)
        at
com.opensymphony.xwork.ObjectFactory.buildInterceptor(ObjectFactory.java:151)
        ... 43 more
2008-12-23 14:15:13,731 [http-8080-2] INFO  ldapController  - Searching
for user: usr
2008-12-23 14:15:13,731 [http-8080-2] INFO  ldapController  - Searching
for users with filter: '(&(objectClass=user)(mailNickname=usr))' from
base dn: ou=users,ou=as,dc=aff-p,dc=ch
2008-12-23 14:15:13,788 [http-8080-2] INFO 
environmentCheck#continuum-role-profile-check  - Checking roles list.
2008-12-23 14:15:13,899 [http-8080-2] INFO  ldapController  - Searching
for user: usr
2008-12-23 14:15:13,899 [http-8080-2] INFO  ldapController  - Searching
for users with filter: '(&(objectClass=user)(mailNickname=usr))' from
base dn: ou=users,ou=as,dc=aff-p,dc=ch
2008-12-23 14:15:13,899 [http-8080-2] ERROR
com.opensymphony.webwork.components.ActionComponent  - Could not execute
action: /WEB-INF/jsp/error/companyInfo
Caught Exception while registering Interceptor class
redbackEnvironmentCheckInterceptor - interceptor -
file:/opt/apache-tomcat-6.0.16/work/Catalina/localhost/continuum/WEB-INF/classes/xwork-security.xml:31:87
        at
com.opensymphony.xwork.ObjectFactory.buildInterceptor(ObjectFactory.java:171)
        at
com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:56)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:701)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:568)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:581)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:602)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:204)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:675)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:678)
        at
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
        at
com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
        at
com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
        at
com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:60)
        at
com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
        at
com.opensymphony.webwork.components.ActionComponent.executeAction(ActionComponent.java:223)
        at
com.opensymphony.webwork.components.ActionComponent.end(ActionComponent.java:127)
        at
com.opensymphony.webwork.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:21)
        at
org.apache.jsp.WEB_002dINF.jsp.error.httpError_jsp._jspx_meth_ww_005faction_005f0(httpError_jsp.java:622)
        at
org.apache.jsp.WEB_002dINF.jsp.error.httpError_jsp._jspx_meth_ww_005fi18n_005f1(httpError_jsp.java:539)
        at
org.apache.jsp.WEB_002dINF.jsp.error.httpError_jsp._jspx_meth_ww_005fi18n_005f0(httpError_jsp.java:195)
        at
org.apache.jsp.WEB_002dINF.jsp.error.httpError_jsp._jspService(httpError_jsp.java:124)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
        at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)
        at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
        at
org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController.searchUsers(DefaultLdapController.java:129)
        at
org.codehaus.plexus.redback.users.ldap.ctl.DefaultLdapController.getUser(DefaultLdapController.java:181)
        at
org.codehaus.plexus.redback.users.ldap.LdapUserManager.findUser(LdapUserManager.java:214)
        at
org.codehaus.plexus.redback.users.cached.CachedUserManager.findUser(CachedUserManager.java:126)
        at
org.codehaus.plexus.redback.users.configurable.ConfigurableUserManager.findUser(ConfigurableUserManager.java:111)
        at
org.codehaus.plexus.redback.xwork.checks.security.GuestUserEnvironmentCheck.validateEnvironment(GuestUserEnvironmentCheck.java:82)
        at
org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.init(EnvironmentCheckInterceptor.java:77)
        at
com.opensymphony.xwork.ObjectFactory.buildInterceptor(ObjectFactory.java:151)
        ... 42 more
2008-12-23 14:15:13,917 [http-8080-2] INFO  ldapController  - Searching
for user: usr
2008-12-23 14:15:13,918 [http-8080-2] INFO  ldapController  - Searching
for users with filter: '(&(objectClass=user)(mailNickname=usr))' from
base dn: ou=users,ou=as,dc=aff-p,dc=ch

Mime
View raw message