Josha
11 years ago
Hi there,
I want to integrate the deprecated CAS authentication plugin into SonarQube
3.7 using SAML11. After some fiddling and doing I was introduced to a fork
of the plugin ( https://github.com/jerzykrlk/sonar-cas
<https://github.com/jerzykrlk/sonar-cas> ) thanks to psqita from
stackoverflow.
Now, everything works fine with forceAuthentication = false. Sadly everyone
wants to disable anonymous access, so forceAuthentication must be set to
true. And there is the problem: After accessing Sonar, I get redirected to
CAS, that's really fine. But after I enter my credentials and hit enter, I
end up in an endless loop between /cas/login, /sonar/cas/validate and
/sonar/sessions/new. FYI, Sonar and CAS are on the same server, accessible
under /sonar and /cas.
I already asked on stackoverflow (
http://stackoverflow.com/questions/20402503/how-to-integrate-cas-authentification-in-sonarqube/20420688
<http://stackoverflow.com/questions/20402503/how-to-integrate-cas-authentification-in-sonarqube/20420688>
), where currently psqita is helping me, but the audience there is rather
small. Kudos to you, psqita, if you read this, but your time is limited too
and this shit needs to become done.
Has anyone of you here got some ideas or help?
Big thanks in advance.
--
View this message in context: http://sonarqube.15.x6.nabble.com/Integrating-CAS-3-5-2-authentication-into-Sonar-3-7-tp5020170.html
Sent from the SonarQube Users mailing list archive at Nabble.com.
I want to integrate the deprecated CAS authentication plugin into SonarQube
3.7 using SAML11. After some fiddling and doing I was introduced to a fork
of the plugin ( https://github.com/jerzykrlk/sonar-cas
<https://github.com/jerzykrlk/sonar-cas> ) thanks to psqita from
stackoverflow.
Now, everything works fine with forceAuthentication = false. Sadly everyone
wants to disable anonymous access, so forceAuthentication must be set to
true. And there is the problem: After accessing Sonar, I get redirected to
CAS, that's really fine. But after I enter my credentials and hit enter, I
end up in an endless loop between /cas/login, /sonar/cas/validate and
/sonar/sessions/new. FYI, Sonar and CAS are on the same server, accessible
under /sonar and /cas.
I already asked on stackoverflow (
http://stackoverflow.com/questions/20402503/how-to-integrate-cas-authentification-in-sonarqube/20420688
<http://stackoverflow.com/questions/20402503/how-to-integrate-cas-authentification-in-sonarqube/20420688>
), where currently psqita is helping me, but the audience there is rather
small. Kudos to you, psqita, if you read this, but your time is limited too
and this shit needs to become done.
Has anyone of you here got some ideas or help?
Big thanks in advance.
--
View this message in context: http://sonarqube.15.x6.nabble.com/Integrating-CAS-3-5-2-authentication-into-Sonar-3-7-tp5020170.html
Sent from the SonarQube Users mailing list archive at Nabble.com.