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

Crowd SSO(Crowd 2 Plugin) not working properly with Jenkins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • crowd2-plugin

      We have integrated Crowd with Jira, Confluence, Bitbucket and Jenkins. If I log into any of JIRA, Confluence, Bitbucket. Im able to login automatically to Jenkins. Now if log out from Jenkins, crowd is logging out from JIRA, Confluence and Bitbucket as it should. Now if I login to any of Jira, Confluence, Bitbucket. Ideally, crowd should automatically login to Jenkins, but its not logging automatically to jenkins.

      ------------------------------------------ 

      Enabled Crowd 2 in Configure Global Security -> Security Realm -> Crowd 2.

      Enabled following in the Crowd 2 section:

      Crowd URL: http://IP:8095/crowd

      Application name: jenkins_uat

      Restrict Groups: Added only the groups that are mentioned in crowd.

      Enabled SSO

      Crowd.tokenkey: crowd.token_key

      session.validationinterval: 0

      ----------------------------------------------

      Configured the crowd.properties in the path: /var/cache/jenkins/war/WEB-INF/classes/crowd.properties. Please find the attached file of crowd.properties 

      Added line: "-Dcrowd.properties=/var/cache/jenkins/war/WEB-INF/classes/crowd.properties" in the file /etc/sysconfig/jenkins

      Copied the "crowd-integration-client-3.1.2.jar" to path "/var/cache/jenkins/war/WEB-INF/lib/crowd-integration-client-3.1.2.jar"

      -------------------------------------------------

      Please find the attached logs of jenkins below. 

       

        1. jenkins.security
          26 kB
        2. hudson.security
          28 kB
        3. de.theit.jenkins.crowd
          32 kB
        4. crowd.properties
          0.5 kB
        5. com.atlassian.crowd
          8 kB

            dumam Bartosz Nowak
            rohand00298 Rohan Donthoji
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: