You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/08/11 12:23:55 UTC

[brooklyn-server] branch master updated: Imprive log message when printing logs using LdapSecurityProvider

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git


The following commit(s) were added to refs/heads/master by this push:
     new 14153c4  Imprive log message when printing logs using LdapSecurityProvider
     new 9652093  This closes #1222
14153c4 is described below

commit 14153c4e75e1253a84005d5f7e28515d6c319a76
Author: Juan Cabrerizo <ju...@cloudsoft.io>
AuthorDate: Wed Aug 11 10:57:52 2021 +0100

    Imprive log message when printing logs using LdapSecurityProvider
---
 .../apache/brooklyn/rest/security/provider/LdapSecurityProvider.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/security/provider/LdapSecurityProvider.java b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/security/provider/LdapSecurityProvider.java
index 00c9bf2..9142efb 100644
--- a/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/security/provider/LdapSecurityProvider.java
+++ b/rest/rest-resources/src/main/java/org/apache/brooklyn/rest/security/provider/LdapSecurityProvider.java
@@ -139,7 +139,7 @@ public class LdapSecurityProvider extends AbstractSecurityProvider implements Se
                 }
                 // adds user groups to the session
                 sessionSupplierOnSuccess.get().setAttribute(USER_GROUPS, userGroups);
-                addToInfoLog("Successful for " + user + " member of " + userGroups);
+                addToInfoLog("Authentication successful for user " + user + ", in relevant LDAP groups "+userGroups);
             } else {
                 addToInfoLog("Successful for " + user);
             }