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

AuthenticationService is not initialized when needed for REST authentication

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Needed

      Description

      When attempting to perform Shibb authentication in the rest api, a null pointer exception is thrown in dspace-api/src/main/java/org/dspace/authenticate/ShibAuthentication.java at https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/authenticate/ShibAuthentication.java#L229

      The reason it is null is due to the fact that the "AuthenticationServiceImpl" is creating its method stack prior to spring being "done" with everything:
      https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/authenticate/AuthenticationServiceImpl.java#L71

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                terrywbrady Terry Brady
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: