Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install jpam
    1. Download jpam for your system from here
    2. Alternatively:
      1. Copy the jpam's native library following these directions
      2. Copy the jpam's native libray in sonar/bin/<your arch>/lib
  2. Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
  3. Make sure that at least one user with global administration role exists in SonarQube as well as in the external system
  4. Update the SONARQUBE_HOME/conf/sonar.properties file by adding the following lines:

    Code Block
    borderStyledashed
    titlesonar.properties
    sonar.security.realm: PAM
    pam.serviceName=system-auth
    # Automatically create users.
    # When set to true, user will be created after successful authentication, if doesn't exists.
    # The default group affected to new users can be defined online, in SonarQube general settings. The default value is "sonar-users".
    # Default is false.
    # sonar.authenticator.createUsers: true
    
  5. Restart SonarQube and check logs for:

    Code Block
    borderStyledashed
    2012.11.24 20:32:34 INFO  org.sonar.INFO  Security realm: PAM
    2012.11.24 20:32:34 INFO  org.sonar.INFO  Security realm started
  6. Log in to SonarQube

...