Uploaded image for project: 'VuFind'
  1. VuFind
  2. VUFIND-365

More flexible support for authentication handlers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1
    • Component/s: MyResearch
    • Labels:

      Description

      This patch changes the behaviour of the AuthenticationFactory to enable it to load any file in the web/sys/authn folder which ends in "Authentication.php". To add an authentication handler, all someone needs to do is add a new file to this folder and then specify it in the configuration file without having to make a change to the factory to add a new option to the switch statement.

      The patch retains the switch statement to prevent breaking compatibility with anyone who might have deployed with the database authentication or SIP2 authentication handlers since they don't follow the same format as the other three drivers (LDAP, ILS and Shibboleth).

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            pasamio Sam Moffatt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: