Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-1782

S2068 should detect string constant used in java.net.PasswordAuthentication API

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1
    • Component/s: Rules
    • Labels:
      None

      Description

      new java.net.PasswordAuthentication("user", "1234".toCharArray());
      

      see : https://docs.oracle.com/javase/7/docs/api/java/net/PasswordAuthentication.html

      Description file should be updated accordingly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.gumowski Michael Gumowski
              Reporter:
              nicolas.peru Nicolas Peru
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: