Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-436

SWORD Authenticator doesn't support the special groups infrastructure

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.6.0
    • Component/s: SWORD
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      The SWORD Authenticator don't support the special group infrastructure. We have a custom authentication method that retrieve group membership querying an external service (university staff database) but the getSpecialGroups method is not invoked by the SWORD authenticator so we are not able to grant submit permission to university staff "on the fly". A patch is attached, if no objection arise I can commit the patch in the next days.

      Please note that the SWORD Authenticator invoke the getSpecialGroups method supplying a "null" http request so I have patched the out-of-box authentication methods to prevent NPE. The javadoc of the AuthenticationMethod interface already allow the request parameter to be null

        Attachments

          Activity

            People

            • Assignee:
              bollini Andrea Bollini (4Science)
              Reporter:
              bollini Andrea Bollini (4Science)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: