GAUCAMOLE-195: Fix code style issues to conform to project standards.
This commit is contained in:
1 parent
ee9fb5d7ed
commit
ab27739b02
1 file changed
+3
-2
+3
-2
@@ -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