Introduce new property "sonar.security.certRegex" to provide a regex pattern for extracting the username from client certificate. Remove unsightly authentication with java. Now the authentication will pass with ruby.