Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5778
Closed
Open
Issue created 7 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

Create a security library for fusiondirectory

Closed

Create a security library for fusiondirectory

Descriptive title for this enhancement

Create a security library for fusiondirectory

Actual behavior

Actually all the check for the various type of connection is done on index.php, but as we get mo and more way of connecting i think we should have separate php include files like we do for the password method for exemple.

Expected behavior

Have separate class with connexion method to be able to drop new connecion method when a new one is needed7

Step by step description of new behaviour

  1. split connexion method into separe include files
  2. Add a new method
  3. [and so on...]

Benefits

More lisibility, more room for new enhancement and easier contributions

Possible Drawbacks

The order of checking the method or interaction between them

Applicable Issues

All login process

Tasks

0
Cannot read properties of undefined (reading 'workItem')

Linked items
0

Link issues together to show that they're related. Learn more.

Activity


  • bmortier mentioned in issue #5779 7 years ago

    mentioned in issue #5779

    By bmortier on 2018-03-14T08:41:00 (imported from GitLab)

  • bmortier created branch 5778-create-a-security-library-for-fusiondirectory 7 years ago

    created branch 5778-create-a-security-library-for-fusiondirectory

    By Côme Chilliet on 2018-03-15T14:48:42 (imported from GitLab)

  • bmortier mentioned in merge request !163 7 years ago

    mentioned in merge request !163

    By Côme Chilliet on 2018-03-15T14:48:43 (imported from GitLab)

  • bmortier mentioned in commit 7c2f3120 7 years ago

    mentioned in commit 7c2f3120

    By Côme Chilliet on 2018-03-15T14:49:46 (imported from GitLab)

  • bmortier added 2h of time spent at 2018-03-15 7 years ago

    added 2h of time spent at 2018-03-15

    By Côme Chilliet on 2018-03-15T14:52:12 (imported from GitLab)

  • bmortier added PJ1802-0188 label 7 years ago

    added PJ1802-0188 label

    By bmortier on 2018-03-17T21:21:17 (imported from GitLab)

  • bmortier changed milestone to %FusionDirectory 1.4 7 years ago

    changed milestone to %FusionDirectory 1.4

    By bmortier on 2018-03-26T09:11:12 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 7 years ago
      Author Maintainer

      Should it be possible to activate several login method at the same time?

      In the current code only one can be activated, either HTTP Header, HTTP Auth, CAS, or the FD login page will be used.

      If there will always only be one active, we could put in fusiondirectory configuration a SetAttribute allowing to select which method will be used.

      By Côme Chilliet on 2018-03-28T09:19:41 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      hello,

      • HTTP Header
      • HTTP Auth

      those two are mainly used being an sso portal, so i'am not sure we should add a two factor sequence for those

      • CAS

      in this case its the cas system itself that should support two factor

      • FD login

      This is the case for two factor, like on the gitlab for example, first user/password than ask for second factor. second factor can be an otp generated by free otp for exemple or a physical device like a yubikey

      what do you think about my answer @coudot

      By bmortier on 2018-06-12T10:06:59 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      I agree, if you rely on an external authentication server (SSO, CAS, etc.), second factor is not needed in FD, it must be done on SSO side.

      You can indeed implement 2nd factor for pure FD login.

      By coudot on 2018-06-12T10:22:16 (imported from GitLab)

    • Please register or sign in to reply
  • bmortier added Need Info technical discussion labels 7 years ago

    added Need Info technical discussion labels

    By Côme Chilliet on 2018-03-28T09:19:42 (imported from GitLab)

  • bmortier mentioned in commit a028b11b 7 years ago

    mentioned in commit a028b11b

    By Côme Chilliet on 2018-05-07T09:07:22 (imported from GitLab)

  • bmortier mentioned in commit 5ffe6989 7 years ago

    mentioned in commit 5ffe6989

    By Côme Chilliet on 2018-05-07T09:25:43 (imported from GitLab)

  • bmortier added packaging label 6 years ago

    added packaging label

    By bmortier on 2018-06-12T09:42:34 (imported from GitLab)

  • bmortier created branch 5778-create-a-security-library-for-fusiondirectory 6 years ago

    created branch 5778-create-a-security-library-for-fusiondirectory

    By Côme Chilliet on 2018-06-12T12:41:27 (imported from GitLab)

  • bmortier mentioned in merge request !290 6 years ago

    mentioned in merge request !290

    By Côme Chilliet on 2018-06-12T12:41:30 (imported from GitLab)

  • bmortier created branch 5778-create-a-security-library-for-fusiondirectory 6 years ago

    created branch 5778-create-a-security-library-for-fusiondirectory

    By Côme Chilliet on 2018-06-12T12:44:48 (imported from GitLab)

  • bmortier mentioned in merge request !291 6 years ago

    mentioned in merge request !291

    By Côme Chilliet on 2018-06-12T12:44:58 (imported from GitLab)

  • bmortier mentioned in commit 84fa0d26 6 years ago

    mentioned in commit 84fa0d26

    By Côme Chilliet on 2018-06-12T14:12:43 (imported from GitLab)

  • bmortier mentioned in commit 37e67f4b 6 years ago

    mentioned in commit 37e67f4b

    By Côme Chilliet on 2018-06-12T14:12:43 (imported from GitLab)

  • bmortier mentioned in commit 4415be6f 6 years ago

    mentioned in commit 4415be6f

    By Côme Chilliet on 2018-06-12T14:12:43 (imported from GitLab)

  • bmortier
    bmortier @bmortier · 6 years ago
    Author Maintainer

    Now only one method can be selected in the configuration. The render of the login form was moved into LoginPost class.

    It should be reading old config if the new fdLoginMethod is not found in the configuration, migration tests will be needed to make sure this works.

    By Côme Chilliet on 2018-06-12T14:35:44 (imported from GitLab)

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Assignee
bmortier's avatar
bmortier
Assign to
Labels
3
Changed PJ1802-0188 simple-plugin
3
Changed PJ1802-0188 simple-plugin
    Assign labels
  • Manage project labels

Milestone
FusionDirectory 1.1
FusionDirectory 1.1 (expired)
Due date
None
None
None
Time tracking
No estimate or time spent
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
0
0 Participants
Reference: fusiondirectory/fd#5091