Skip to content

Commit

Permalink
[Minor] different logging for auth
Browse files Browse the repository at this point in the history
  • Loading branch information
eitch committed Oct 19, 2024
1 parent 06886d3 commit a00fa99
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,9 @@ private Certificate internalAuthenticate(String username, char[] password, Strin
persistModelAsync();

// log
logger.info("User {} authenticated: {}", username, certificate);
logger.info("User {} authenticated with password : {}", username, certificate);
} else {
logger.info("User {} authenticated with basic auth: {}", username, certificate);
}

// return the certificate
Expand Down Expand Up @@ -561,7 +563,7 @@ private Certificate internalAuthenticateSingleSignOn(User user, String source, b
persistSessionsAsync();

// log
logger.info("User {} authenticated: {}", user.getUsername(), certificate);
logger.info("User {} authenticated with single sign on: {}", user.getUsername(), certificate);

return certificate;
}
Expand Down

0 comments on commit a00fa99

Please sign in to comment.