Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: core
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Issuezilla Id:
      278

      Description

      The authification do not seem to work.

      i have rewrite the filter localy with this code

      String auth = username + ":" + password;
      BASE64Encoder encoder = new BASE64Encoder();
      String basicAuth = encoder.encode(auth.getBytes());
      authentication = "Basic " + basicAuth;
      

        Activity

        Hide
        sandoz added a comment -

        Can you describe further what did not work? What username and password string
        dud you use?

        Show
        sandoz added a comment - Can you describe further what did not work? What username and password string dud you use?
        Hide
        sandoz added a comment -

        I found the issue. The padding characters are not correct, it encodes "A"
        instead of "=". Plus this class should be tested and it is not.

        Show
        sandoz added a comment - I found the issue. The padding characters are not correct, it encodes "A" instead of "=". Plus this class should be tested and it is not.
        Hide
        sandoz added a comment -

        Fixed in the trunk.

        Show
        sandoz added a comment - Fixed in the trunk.
        Hide
        fsimard added a comment -

        You already find the problem and fixed it. And sorry if I dont document the
        problem correctly the first time.

        Bad enconding T1NZUy1TVEVNfGhyYS1hZG1pbjphcHAtYWRtaW4A
        Good encoding T1NZUy1TVEVNfGhyYS1hZG1pbjphcHAtYWRtaW4=

        Show
        fsimard added a comment - You already find the problem and fixed it. And sorry if I dont document the problem correctly the first time. Bad enconding T1NZUy1TVEVNfGhyYS1hZG1pbjphcHAtYWRtaW4A Good encoding T1NZUy1TVEVNfGhyYS1hZG1pbjphcHAtYWRtaW4=

          People

          • Assignee:
            jersey-issues
            Reporter:
            fsimard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: