mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +00:00
GUACAMOLE-195: Add RAT plugin to extension; fix build issue from leftover logger() call.
This commit is contained in:
@@ -95,6 +95,32 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@@ -75,7 +75,6 @@ public class AuthenticationProviderService {
|
|||||||
username = request.getHeader(confService.getHttpAuthHeader());
|
username = request.getHeader(confService.getHttpAuthHeader());
|
||||||
|
|
||||||
if (username != null) {
|
if (username != null) {
|
||||||
logger.debug("Authenticating with user {}", username);
|
|
||||||
AuthenticatedUser authenticatedUser = authenticatedUserProvider.get();
|
AuthenticatedUser authenticatedUser = authenticatedUserProvider.get();
|
||||||
authenticatedUser.init(username, credentials);
|
authenticatedUser.init(username, credentials);
|
||||||
return authenticatedUser;
|
return authenticatedUser;
|
||||||
|
Reference in New Issue
Block a user