Skip to end of metadata
Go to start of metadata

 

Description

This plugin enables user authentication and Single Sign-On via an OpenID provider:

  • Support OpenID Authentication 2.0
  • Support Google accounts
  • On the fly creation of users in sonar user referential

Installation

  1. Install the OpenID plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server

Usage

The following properties must be added to $SONAR_HOME/conf/sonar.properties:

Note that the library openid4java generates many INFO logs. Edit the file conf/logback.xml and add the following loggers to log only warnings and errors:

Note for Tomcat

When Sonar WAR is deployed into Tomcat, characters in names that have utf-8 encodings break the OpenID validation. The attribute URIEncoding="UTF-8" must be added to the element <Connector/> in server.xml.

Change Log

Release 1.2 (2 issues)
Type Key Summary Priority
Bug SONARPLUGINS-2205 Verification fails if webserver is behind a reverse proxy Major
Improvement SONARPLUGINS-2257 Add description property to pom.xml Major

 

Release 1.1 (4 issues)
Type Key Summary Priority
Improvement SONARPLUGINS-1971 Support logout Major
Improvement SONARPLUGINS-1970 New extension points to interact with request to OpenID server Major
Improvement SONARPLUGINS-2010 Support SSL endpoint Major
Bug SONARPLUGINS-2011 Redirect to a static page when access is not granted Major

 

Release 1.0 (1 issues)
Type Key Summary Priority
New Feature SONARPLUGINS-1803 Support OpenID to log in to Sonar Major

Labels
  • None