github-advanced-security[bot] commented on code in PR #1170:
URL: https://github.com/apache/syncope/pull/1170#discussion_r2428614935


##########
wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/WAPropertySourceLocator.java:
##########
@@ -124,8 +131,14 @@
             properties.putAll(index(map, prefixes));
         });
 
-        properties.put("cas.authn.pm.syncope.url",
-                StringUtils.substringBefore(syncopeClient.getAddress(), 
"/rest"));
+        
syncopeClient.getService(PasswordManagementService.class).list().stream().
+                
filter(PasswordManagementTO::isEnabled).findFirst().ifPresent(passwordManagementTO
 -> {
+            LOG.debug("Mapping password module {} ", 
passwordManagementTO.getKey());

Review Comment:
   ## Insertion of sensitive information into log files
   
   This [potentially sensitive information](1) is written to a log file.
   
   [Show more 
details](https://github.com/apache/syncope/security/code-scanning/2339)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to