diff --git a/strolch-privilege/src/main/java/li/strolch/privilege/handler/DefaultPrivilegeHandler.java b/strolch-privilege/src/main/java/li/strolch/privilege/handler/DefaultPrivilegeHandler.java index 6a968da8f..f550bb5ba 100644 --- a/strolch-privilege/src/main/java/li/strolch/privilege/handler/DefaultPrivilegeHandler.java +++ b/strolch-privilege/src/main/java/li/strolch/privilege/handler/DefaultPrivilegeHandler.java @@ -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 @@ -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; }