Nadav Samet
commented on JENKINS-24884
Unable to use SSO with Jenkins + Crowd
There were two groups specified in the Crowd admin for the jenkins applications. In the Jenkins Crowd plugin settings the "restrict groups" setting left blank. The user I tested with belonged belonged to one of the allowed groups in Jenkins. I managed to fix the issue for our setup by adding the same group names to the "restrict groups" setting.
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
SSO token available = check whether it is still valid...
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.rest.service.RestExecutor buildUrl
Constructed https://crowd.corp.mycompany.com/crowd/rest/usermanagement/1/session/enWcUnsNdaPblvpJoWdPqg00
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Retrieving SSO user...
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.rest.service.RestExecutor buildUrl
Constructed https://crowd.corp.mycompany.com/crowd/rest/usermanagement/1/session/enWcUnsNdaPblvpJoWdPqg00?expand=user
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Retrieving SSO user...
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.rest.service.RestExecutor buildUrl
Constructed https://crowd.corp.mycompany.com/crowd/rest/usermanagement/1/session/enWcUnsNdaPblvpJoWdPqg00?expand=user
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Retrieving SSO user...
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.rest.service.RestExecutor buildUrl
Constructed https://crowd.corp.mycompany.com/crowd/rest/usermanagement/1/session/enWcUnsNdaPblvpJoWdPqg00?expand=user
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Validating group membership of user...
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Validating group membership of user...
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Retrieving SSO user...
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.rest.service.RestExecutor buildUrl
Constructed https://crowd.corp.mycompany.com/crowd/rest/usermanagement/1/session/enWcUnsNdaPblvpJoWdPqg00?expand=user
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Validating group membership of user...
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Checking whether a SSO token is available...
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelperImpl getCrowdToken
Checking for a SSO token that will need to be verified by Crowd.
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelperImpl getCrowdToken
No request attribute token could be found, now checking the browser submitted cookies.
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelperImpl getCrowdToken
Cookie name/value: screenResolution / 2560x1440
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelperImpl getCrowdToken
Cookie name/value: ACEGI_SECURITY_HASHED_REMEMBER_ME_COOKIE /
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelperImpl getCrowdToken
Cookie name/value: JSESSIONID.bfef4e83 / 50cdakdjvmbzdnlmlrbtrojrz
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelperImpl getCrowdToken
Cookie name/value: crowd.token_key / enWcUnsNdaPblvpJoWdPqg00
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelperImpl getCrowdToken
Accepting the SSO cookie value: enWcUnsNdaPblvpJoWdPqg00
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.http.util.CrowdHttpTokenHelperImpl getCrowdToken
Existing token value yet to be verified by Crowd: enWcUnsNdaPblvpJoWdPqg00
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
SSO token available = check whether it is still valid...
Sep 27, 2014 7:21:51 PM FINE com.atlassian.crowd.integration.rest.service.RestExecutor buildUrl
Constructed https://crowd.corp.mycompany.com/crowd/rest/usermanagement/1/session/enWcUnsNdaPblvpJoWdPqg00
Sep 27, 2014 7:21:51 PM FINE de.theit.jenkins.crowd.CrowdServletFilter
User is logged in via Crowd, but no authentication token available; trying auto-login...
Sep 27, 2014 7:21:51 PM FINER de.theit.jenkins.crowd.CrowdRememberMeServices
Checking whether a SSO