cloudogu / sonar-cas-plugin

CAS Authentication support for SonarQube
14 stars 8 forks source link

I need to carry the parameters on the casServerLoginUrl #9

Closed wxh20114746 closed 5 years ago

wxh20114746 commented 5 years ago

For Example, In my sonar.properties sonar.cas.casServerLoginUrl=https://cas.hitchhiker.com:8443/cas/login?type=xxxxx. I need to pass the parameter type=xxxxx to CAS server,But the plugin nonsupport. Can you improve this code?Thanks!

Regards,

ppxl commented 5 years ago

Hi, and thank you for your comment on this.

Would you kindly elaborate on the background of your question? Like:

In general the CAS log-in transfers close to no data back to SonarQube besides the serviceUrl.

I think it is rather an issue of CAS itself because the log-in URL is sufficiently transferred. But during log-in in the CAS there is another request made, that one that redirects back to Sonar. So we are talking here of two different requests. And said second request is manage by the CAS itself.

wxh20114746 commented 5 years ago

Thank you for your answer. I have solved it.

Regards,