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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • crowd2-plugin

    Description

      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. 

       

      Attachments

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

        Activity

          Hi,

          Please let me know where is it doing wrong.

          Thank  you.

          Regards,

          Rohan Donthoji

          rohand00298 Rohan Donthoji added a comment - Hi, Please let me know where is it doing wrong. Thank  you. Regards, Rohan Donthoji
          oleg_nenashev Oleg Nenashev added a comment - Removing the assignee according to https://groups.google.com/forum/#!topic/jenkinsci-dev/sFejhRvZiIM
          gmshake Zhenlei Huang added a comment - - edited

          Hi rohand00298,

          The log you attached shows that Jenkins crowd SSO was not properly configured. Please refer to https://confluence.atlassian.com/crowd/overview-of-sso-179445277.html, and config the crowd SSO domain and try again.

           

          PS: Be sure to quit browser, i.e. invalidate previous crowd sessions, before your next try.

          gmshake Zhenlei Huang added a comment - - edited Hi rohand00298 , The log you attached shows that Jenkins crowd SSO was not properly configured. Please refer to  https://confluence.atlassian.com/crowd/overview-of-sso-179445277.html , and config the crowd SSO domain and try again.   PS: Be sure to quit browser, i.e. invalidate previous crowd sessions, before your next try.

          People

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

            Dates

              Created:
              Updated: