SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-1849

Support of Central Authentication Service (JASIG CAS)

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CAS-0.1
    • Component/s: (Deprecated) CAS
    • Labels:
      None
    • Number of attachments :
      2

      Description

      This plugin enables user authentication and Single Sign-On via a Central Authentication Service (JASIG CAS).

      The first version covers :

      • Support CAS 2.0 protocol, used by CAS Server 2.x and 3.x
      • Support SAML 1.1 protocol
      • On the fly creation of users in sonar user referential
      1. sonar-cas.patch
        24 kB
        Guillaume Lamirand
      2. sonar-cas.patch
        39 kB
        Guillaume Lamirand

        Activity

        Hide
        Simon Brandhof added a comment - - edited

        The initial implementation requires sonar 3.1.

        Show
        Simon Brandhof added a comment - - edited The initial implementation requires sonar 3.1. Sources : http://svn.codehaus.org/sonar-plugins/trunk/cas/ Documentation : http://docs.codehaus.org/display/SONAR/CAS+Plugin
        Hide
        Guillaume Lamirand added a comment -

        Thanks for this plugin, it was realy helpful.

        I have been done some changes to manage CAS logout request and to redirect to CAS logout when an user logout from sonar.
        To handle logout request, just add the following into sonar.properties

        1. CAS handle logout, if true sonar session will be deleted on CAS logout request
          sonar.cas.handlogout = true
          sonar.cas.casServerLogoutUrl = https://localhost:8443/cas/logout

        I add also CAS1 protocol management.

        Here the patch

        Show
        Guillaume Lamirand added a comment - Thanks for this plugin, it was realy helpful. I have been done some changes to manage CAS logout request and to redirect to CAS logout when an user logout from sonar. To handle logout request, just add the following into sonar.properties CAS handle logout, if true sonar session will be deleted on CAS logout request sonar.cas.handlogout = true sonar.cas.casServerLogoutUrl = https://localhost:8443/cas/logout I add also CAS1 protocol management. Here the patch
        Hide
        Simon Brandhof added a comment -

        Hi Guillaume, thanks for your contribution. I created dedicated JIRA issues :

        Your patch can't be applied because it does not follow style conventions. Could you attach a new version that changes only the related lines of code, but not the whole files ?

        Thanks

        Show
        Simon Brandhof added a comment - Hi Guillaume, thanks for your contribution. I created dedicated JIRA issues : SONARPLUGINS-2225 : CAS1 protocol SONARPLUGINS-2226 : logout Your patch can't be applied because it does not follow style conventions. Could you attach a new version that changes only the related lines of code, but not the whole files ? Thanks
        Hide
        Guillaume Lamirand added a comment -

        Hi Simon,

        I have tried to clean up the patch as much as I can. I hope it will be ok for you.

        Show
        Guillaume Lamirand added a comment - Hi Simon, I have tried to clean up the patch as much as I can. I hope it will be ok for you.
        Hide
        Evgeny Mandrikov added a comment - - edited

        Hi Simon,

        I wanted to test Hub, so I finished reformatting and created pull-request with it. Thus you can review / continue discussion about it in GitHub

        Show
        Evgeny Mandrikov added a comment - - edited Hi Simon, I wanted to test Hub , so I finished reformatting and created pull-request with it . Thus you can review / continue discussion about it in GitHub

          People

          • Assignee:
            Simon Brandhof
            Reporter:
            Simon Brandhof
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: