Versions Compared

Key

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

...

  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 sonar.properties by adding and editing the following:

    Code Block
    titleconf/sonar.properties
    
    #-------------------
    # Sonar Crowd Plugin
    #-------------------
    # IMPORTANT : before activation, make sure that one Sonar administrator is defined in the external system
    # Activates the plugin. Leave blank or comment out to use default sonar authentication.
    sonar.authenticator.class: org.sonar.plugins.crowd.CrowdAuthenticator
    
    # Ignore failure at startup if the connection to external system is refused.
    # Users can browse sonar but not log in as long as the connection fails.
    # When set to true, Sonar will not start if connection to external system fails.
    # Default is false.
    #sonar.authenticator.ignoreStartupFailure: true
    
    # Automatically create users (available since Sonar 2.0).
    # 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 Sonar general settings. The default value is "sonar-users".
    # Default is false.
    #sonar.authenticator.createUsers: true
    
    # URL of the Crowd server (usually ends with /services/).
    crowd.url:
    
    # Crowd application name.
    # Default is 'sonar'.
    #crowd.application:
    
    # Crowd application password.
    crowd.password:
    
  4. Restart the Sonar server and check the log file for:

    No Format
    
    INFO  org.sonar.INFO  Authentication plugin: class org.sonar.plugins.crowd.CrowdAuthenticator
    INFO  org.sonar.INFO  Authentication plugin started
    
  5. Log in to Sonar

...

Code Block
titleconf/logback.xml
   <logger name="org.sonar.plugins.crowd">
    <level value="DEBUG"/>
    <appender-ref ref="CONSOLE"/>
    <appender-ref ref="SONAR_FILE"/>
  </logger>

Changelog

JIRA Issues
anonymoustrue
titleRelease 1.0
height90
renderModestatic
width800
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16911&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleRelease 0.2
height90
renderModestatic
width800
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16515&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

JIRA Issues
anonymoustrue
titleRelease 0.1
height120
renderModestatic
width800
columnstype;key;summary;priority;status;resolution
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16079&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000