...
This plugin enables user authentication and Single Sign-On via your Central Authentication Service (JA-SIG CAS):
- Support CAS 1.0 protocol
- Support CAS 2.0 protocol, used by CAS Server 2.x and 3.x
- Support SAML 1.1 protocol
- On the fly creation of users in sonar user referentialSonar
Installation
- Install the CAS plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
- Restart the Sonar server
...
| Code Block | ||
|---|---|---|
| ||
# This property must be set to true sonar.authenticator.createUsers=true # Enable CAS plugin sonar.security.realm=cas # Protocol is cas1, cas2 or saml11 sonar.cas.protocol=cas2 # Location of the CAS server login form sonar.cas.casServerLoginUrl=https://localhost:8443/cas/login # CAS server root URL sonar.cas.casServerUrlPrefix=https://localhost:8443/cas # Sonar server root URL, without ending slash sonar.cas.sonarServerUrl=http://localhost:9000 # Optional CAS server logout URL. If set, sonar session will be deleted on CAS logout request. #sonar.cas.casServerLogoutUrl=http://localhost:8080/cas/logout # Specifies whether gateway=true should be sent to the CAS server. Default is false. #sonar.cas.sendGateway=false # The tolerance in milliseconds for drifting clocks when validating SAML 1.1 tickets. # Note that 10 seconds should be more than enough for most environments that have NTP time synchronization. # Default is 1000 milliseconds. #sonar.cas.saml11.toleranceMilliseconds=1000 |
...

