Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27682

SEVERE: Access exception trying to look up email address in Crowd

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • crowd2-plugin
    • None
    • crowd-2.8 and Jenkins-1.607

      It seems that the code for doing the lookup for Crowd users is broken because the log is full of severe!? messages like ones below even if I am sure that these users are inside the Crowd directory.

      You may observe the strange way the user is formatted on the error.

      Also all these users are inside the Crowd directory and members of the jira-users group.

      My impression is that the plugin is trying to lookup the users by their visual name instead of their email address.

      Mar 31, 2015 12:17:47 PM de.theit.jenkins.crowd.CrowdMailAddressResolverImpl findMailAddressFor
      SEVERE: Access exception trying to look up email address in Crowd
      org.springframework.dao.DataRetrievalFailureException: The user 'john doe _john.doe@example.com_' does not have the permission to login and/or is not a member of the following user group(s) in your Crowd
      server: '[jira-users]'
              at de.theit.jenkins.crowd.CrowdUserDetailsService.loadUserByUsername(CrowdUserDetailsService.java:96)
              at de.theit.jenkins.crowd.CrowdSecurityRealm.loadUserByUsername(CrowdSecurityRealm.java:305)
              at de.theit.jenkins.crowd.CrowdMailAddressResolverImpl.findMailAddressFor(CrowdMailAddressResolverImpl.java:83)
              at hudson.tasks.MailAddressResolver.resolve(MailAddressResolver.java:122)
      

            dumam Bartosz Nowak
            ssbarnea Sorin Sbarnea
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: