Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-883

Can't access REST API via browser

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M4
    • 2.0.0.M5
    • None
    • None

    Description

      With the latest 2.0.0-SNAPSHOT, I noticed that accessing the REST API without supplying a username/password returns 403 as opposed to the old 401.

      wget http://localhost:9080/syncope/rest/users

      -2016-06-28 15:40:01- http://localhost:9080/syncope/rest/users
      Resolving localhost (localhost)... 127.0.0.1
      Connecting to localhost (localhost)|127.0.0.1|:9080... connected.
      HTTP request sent, awaiting response... 403
      2016-06-28 15:40:01 ERROR 403: (no description).

      Whereas with 1.2.7:

      wget http://localhost:9080/syncope/rest/users
      -2016-06-28 15:29:42- http://localhost:9080/syncope/rest/users
      Resolving localhost (localhost)... 127.0.0.1
      Connecting to localhost (localhost)|127.0.0.1|:9080... connected.
      HTTP request sent, awaiting response... 401 Unauthorized

      Username/Password Authentication Failed.

      This means that if you open up a web browser and try to access say:

      http://localhost:9080/syncope/rest/users

      a pop-up windows does not appear for the user to enter the user/password.

      Attachments

        Issue Links

          Activity

            People

              ilgrosso Francesco Chicchiriccò
              coheigea Colm O hEigeartaigh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: