Details

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

      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 Simon Brandhof added a comment - - edited

        The initial implementation requires sonar 3.1.

        Show
        simon.brandhof 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
        lamirang 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
        lamirang 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 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 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
        lamirang 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
        lamirang 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
        godin OLD - 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
        godin OLD - 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 Simon Brandhof
            Reporter:
            simon.brandhof Simon Brandhof
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: