GAUCAMOLE-195: Fix code style issues to conform to project standards.

This commit is contained in:
Nick Couchman
2017-01-30 08:09:18 -05:00
parent ee9fb5d7ed
commit ab27739b02

View File

@@ -74,10 +74,11 @@ public class AuthenticationProviderService {
HttpServletRequest request = credentials.getRequest();
if (request != null) {
String username = request.getRemoteUser();
if(username == null) {
if(username == null)
username = request.getHeader(confService.getHttpAuthHeader());
}
if (username != null) {
logger.debug("Authenticating with user {}", username);
AuthenticatedUser authenticatedUser = authenticatedUserProvider.get();
authenticatedUser.init(username, credentials);
return authenticatedUser;