Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
DescriptionCheck authentication credentials

URL

/api/authentication/validate

HTTP MethodGET
Response Formatsjson | xml | txt

Security

Requires Global administrator role

Available sinceSonar Version 3.3

Examples

Use CaseExample Request

Check credentials of user admin (password should be admin)

curl http://localhost:9000/api/authentication/validate -v -u admin:admin

...