Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !4478

Closed
Created Jul 02, 2013 by Administrator@rootOwner
  • Report abuse
Report abuse

Ming Jin: added cas auth strategy support

  • Overview 18
  • Commits 1
  • Changes 7

Created by: mingjin

This patch is to add CAS Auth Support into gitlabhq 5.3-stable. The code is tested against my company's cas server and it works.

As CAS server may not respond with the auth info as required, e.g. uid, name, email, the rules for new user creation is:

  1. if the name is not returned, uid will be used
  2. if the email is not returned, the value of email will be combined with the value of uid and the value of variable 'mail_server' defined in gitlab.yml
  3. if the value of variable 'mail_server' is not defined, the value of variable 'host' in CAS settings will be used

Please let me know if there's any question.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/mingjin/5-3-stable