Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-67382

Upgrade phpCAS to latest version

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites

      1. Docker

      Testing instructions

      1. Run the docker CAS container:

        docker run --rm --name cas -p 8080:8080 -p 8443:8443 -dt moodlehq/moodle-docker-cas:dev
        

      2. Login as admin to your siste
      3. Open Site admin => Plugins => Authentication => Manage authentication
      4. Edit the settings for CAS
      5. Set the following:
        1. Hostname: localhost
        2. Port: 8443
        3. Base URI: cas/
        4. Multi Auth: Yes
      6. Save changes
      7. Enable CAS
      8. If you have an existing user with username 's10' delete it
      9. Create a new user with:
        1. Username: s10
        2. Authentication method {{CAS Server (SSO)}
      10. Open a private browsing window and navigate to the site
      11. Click Log in
      12. Click the "CAS" button
        Note: You may have to ignore the certificate being invalid. Generally this is under "Advanced" and then there's a link to "Proceed". This is just because we're using a testing image with a self-generated SSL certificate
      13. Login into the CAS server with username "s10" and password "test"
        1. Confirm you were logged into Moodle as the new user
      14. Stop the docker container

        docker stop cas
        

      Show
      Prerequisites Docker Testing instructions Run the docker CAS container: docker run --rm --name cas -p 8080:8080 -p 8443:8443 -dt moodlehq/moodle-docker-cas:dev Login as admin to your siste Open Site admin => Plugins => Authentication => Manage authentication Edit the settings for CAS Set the following: Hostname: localhost Port: 8443 Base URI: cas/ Multi Auth: Yes Save changes Enable CAS If you have an existing user with username 's10' delete it Create a new user with: Username: s10 Authentication method {{CAS Server (SSO)} Open a private browsing window and navigate to the site Click Log in Click the "CAS" button Note: You may have to ignore the certificate being invalid. Generally this is under "Advanced" and then there's a link to "Proceed". This is just because we're using a testing image with a self-generated SSL certificate Login into the CAS server with username " s10 " and password " test " Confirm you were logged into Moodle as the new user Stop the docker container docker stop cas
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull Master Branch:
      MDL-67382-master
    • Sprint:
      Moodle 3.9 - Moppies Kanban

      Description

      CAS (/auth/cas/CAS/) 1.3.7 --> 1.3.8: https://github.com/apereo/phpCAS/releases 
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vmdef Víctor Déniz Falcón
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Carlos Escobedo
              Integrator:
              Andrew Nicols
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 51 minutes
                  1d 1h 51m