mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-195: Add some spacing around comments and if statements to make things more readable.
This commit is contained in:
@@ -70,6 +70,7 @@ public class AuthenticationProviderService {
|
|||||||
// Pull HTTP header from request if present
|
// Pull HTTP header from request if present
|
||||||
HttpServletRequest request = credentials.getRequest();
|
HttpServletRequest request = credentials.getRequest();
|
||||||
if (request != null) {
|
if (request != null) {
|
||||||
|
|
||||||
// Get the username from the header configured in guacamole.properties
|
// Get the username from the header configured in guacamole.properties
|
||||||
String username = request.getHeader(confService.getHttpAuthHeader());
|
String username = request.getHeader(confService.getHttpAuthHeader());
|
||||||
|
|
||||||
@@ -78,6 +79,7 @@ public class AuthenticationProviderService {
|
|||||||
authenticatedUser.init(username, credentials);
|
authenticatedUser.init(username, credentials);
|
||||||
return authenticatedUser;
|
return authenticatedUser;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Authentication not provided via header, yet, so we request it.
|
// Authentication not provided via header, yet, so we request it.
|
||||||
|
Reference in New Issue
Block a user