mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GAUCAMOLE-195: Fix code style issues to conform to project standards.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user