Uploaded image for project: 'Apache Oltu'
  1. Apache Oltu
  2. OLTU-107

ResourceHeaderEndpoint should use e.getUri()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • oauth2-0.31
    • oauth2-0.31
    • None
    • current svn trunk

    Description

      ResourceHeaderEndpoint integration test uses getDescription instead of getUri:
      OAuthResponse oauthResponse = OAuthRSResponse
      .errorResponse(HttpServletResponse.SC_UNAUTHORIZED)
      .setRealm(Common.RESOURCE_SERVER_NAME)
      .setError(e.getError())
      .setErrorDescription(e.getDescription())
      .setErrorUri(e.getDescription())
      .buildHeaderMessage();

      See patch.

      Attachments

        1. OLTU-107.patch
          0.6 kB
          Dominik Schürmann

        Activity

          People

            asanso Antonio Sanso
            dschuermann Dominik Schürmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: