Load TestUtils.java as a library instead of a test source file The tests of the cfoauth-plugin failed on master branch with 3 failures. One failure was caused by the TestUtils-class, which did not contain any method annotated with `@Test`, causing Junit to raise `java.lang.Exception: No runnable methods tests`. This change creates a library containing the TestUtils-class, which is loaded as a test-dependency and excludes TestUtils.java from the test-sources. This fixes one of the three observed test failures. The other test failures will be addressed in a dedicated change. Change-Id: I393969b46c39757d8bd4c84cda8d3b8a884b7510
With this plugin Gerrit can use OAuth2 protocol to authenticate users accessing Gerrit's Web UI with a CloudFoundry User Account and Authentication (UAA) server. The Sign In link will redirect the user to the UAA login screen.
For Git-over-HTTP communication users still need to generate and use an HTTP password.
Apache License 2.0