GUACAMOLE-195: Add RAT plugin to extension; fix build issue from leftover logger() call.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/88903880 Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/88903880 Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/88903880 Branch: refs/heads/master Commit: 88903880f96df07bca20d3db01ffe9ff6e6c50b1 Parents: 9b4302c Author: Nick Couchman <[email protected]> Authored: Mon Jan 30 13:39:25 2017 -0500 Committer: Nick Couchman <[email protected]> Committed: Tue Jan 31 22:23:58 2017 -0500 ---------------------------------------------------------------------- extensions/guacamole-auth-http/pom.xml | 26 ++++++++++++++++++++ .../http/AuthenticationProviderService.java | 1 - 2 files changed, 26 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/88903880/extensions/guacamole-auth-http/pom.xml ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-http/pom.xml b/extensions/guacamole-auth-http/pom.xml index 85aea3c..146a39c 100644 --- a/extensions/guacamole-auth-http/pom.xml +++ b/extensions/guacamole-auth-http/pom.xml @@ -95,6 +95,32 @@ </executions> </plugin> + <!-- Verify format using Apache RAT --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.12</version> + + <configuration> + <excludes> + <exclude>**/*.json</exclude> + <exclude>src/licenses/**/*</exclude> + </excludes> + </configuration> + + <!-- Bind RAT to validate phase --> + <executions> + <execution> + <id>validate</id> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + + </plugin> + </plugins> </build> http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/88903880/extensions/guacamole-auth-http/src/main/java/org/apache/guacamole/auth/http/AuthenticationProviderService.java ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-http/src/main/java/org/apache/guacamole/auth/http/AuthenticationProviderService.java b/extensions/guacamole-auth-http/src/main/java/org/apache/guacamole/auth/http/AuthenticationProviderService.java index 2235765..46bc929 100644 --- a/extensions/guacamole-auth-http/src/main/java/org/apache/guacamole/auth/http/AuthenticationProviderService.java +++ b/extensions/guacamole-auth-http/src/main/java/org/apache/guacamole/auth/http/AuthenticationProviderService.java @@ -75,7 +75,6 @@ public class AuthenticationProviderService { username = request.getHeader(confService.getHttpAuthHeader()); if (username != null) { - logger.debug("Authenticating with user {}", username); AuthenticatedUser authenticatedUser = authenticatedUserProvider.get(); authenticatedUser.init(username, credentials); return authenticatedUser;
