SecurityServer.authenticatePrincipalSimple() overwrites InvalidAuthenticationException text with an incorrect message.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 1.6
    • Affects Version/s: None
    • Component/s: None
    • None

      catch (InvalidAuthenticationException e)
      {
        throw new InvalidAuthenticationException(SOAPService.INVALID_AUTHENTICATION);
      }
      

      This overwrites the message set by the directory and, as a bonus, is factually incorrect.

      Workaround: use authenticatePrincipal().

              Assignee:
              David O'Flynn [Atlassian]
              Reporter:
              David O'Flynn [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: