Skip to content

Commit e5511ec

Browse files
committed
Included the username for the SAML login failure in the log message
1 parent f9513b4 commit e5511ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/user-authenticators/saml2/src/main/java/org/apache/cloudstack/api/command/SAML2LoginAPIAuthenticatorCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public String authenticate(final String command, final Map<String, Object[]> par
332332
return ApiResponseSerializer.toSerializedString(loginResponse, responseType);
333333
}
334334
} catch (CloudAuthenticationException | IOException exception) {
335-
logger.debug("SAML Login failed to log in the user due to: " + exception.getMessage());
335+
logger.debug("SAML Login failed to log in the user "+ username +" due to: " + exception.getMessage());
336336
}
337337
}
338338
} catch (IOException e) {

0 commit comments

Comments
 (0)