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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 27 Next »

Name

Sonar LDAP Plugin

Authors

Evgeny Mandrikov

Homepage

http://code.google.com/p/sonar-identity/

Jira

http://jira.codehaus.org/browse/SONARPLUGINS/component/14293

Latest version

0.1-SNAPSHOT

License

LGPL v3

Sources

http://svn.codehaus.org/sonar-plugins/trunk/ldap/

Download plugin

Called for voting: sonar-ldap-plugin-0.1-SNAPSHOT.jar

Download plugin with examples

Called for voting: sonar-ldap-plugin-0.1-SNAPSHOT-bin.tar.gz

Compatibility matrix

Plugin

0.1

Sonar

1.12+

 

Apache DS

OpenLDAP

OpenDS

Active Directory

simple

tested

tested

tested

 

bind

tested

tested

tested

tested

LDAPS

tested

tested

 

 

DIGEST-MD5

tested

 

tested

tested

CRAM-MD5

tested

 

tested

tested

GSSAPI

tested

 

 

 

Description / Features

The Sonar LDAP Plugin enables the delegation of Sonar authentication to an external system. The plugin currently supports LDAP and Microsoft Active Directory.

Only password-checking is done against the external system. Authorization (access control) is still fully managed in Sonar. That’s why LDAP or Active Directory users do not automatically have access to Sonar. A Sonar account must be created first for each new user wishing to use Sonar. The Sonar administrator should also assign the user to the desired groups in order to grant him necessary rights. If exists, the password in the Sonar account will be ignored as the external system password will override it.

Usage & Installation

  1. Place the jar into the /extensions/plugins directory
  2. Make sure that at least one user with global administration role exists in Sonar as well as in the external system
  3. Configure conf/sonar.properties by adding and editing the following:
    conf/sonar.properties
  4. Restart the Sonar server and check the log file for:
    INFO org.sonar.INFO Authentication plugin: class com.teklabs.sonar.plugins.ldap.LdapAuthenticator
    INFO org.sonar.INFO Authentication plugin started
    
  5. Log in to Sonar

Known limitations

Autodiscovery takes into account only one SRV record.

Troubleshooting

You can enable debug logging by adding the following to conf/logback.xml:

conf/logback.xml

Changelog

Loading

Release 0.1 (8 issues)

  • No labels