Discussion:
Integrating CAS 3.5.2 authentication into Sonar 3.7
Josha
11 years ago
Permalink
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.
Schulz, Christian
11 years ago
Permalink
Hello Josha,

Better ask this on the dev list.

Best Regards,

Christian Schulz
-----Original Message-----
Sent: Saturday, December 14, 2013 2:55 PM
Subject: [sonar-user] Integrating CAS 3.5.2 authentication into Sonar
3.7
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
...
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.
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
This email (including any attachments) may contain confidential and/or
privileged information or information otherwise protected from disclosure.
If you are not the intended recipient, please notify the sender immediately,
do not copy this message or any attachments and do not use it for any
purpose or disclose its content to any person, but delete this message and
any attachments from your system.
Astrium disclaims any and all liability if this email transmission
was virus corrupted, altered or falsified.
----------------------------------------------------------------------------
Astrium GmbH
Vorsitzender des Aufsichtsrates: Günter Stamerjohanns
Geschäftsführung: Evert Dudok (Vorsitzender), Jens Schomburgk,
Dr. Johannes von Thadden, Thomas S. Mueller
Sitz der Gesellschaft: München -
Registergericht: Amtsgericht München, HRB Nr. 107647
Ust. Ident. Nr. /VAT reg. no. DE167015356
----------------------------------------------------------------------------
Weitere Informationen über EADS Astrium un

Loading...