[java-identity-provider] branch main updated: Suppress additional properties.

Scott Cantor cantor.2 at osu.edu
Tue Nov 3 21:36:42 UTC 2020


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=63e20652cbff821810b4bf606be898bf07b925a0

The following commit(s) were added to refs/heads/main by this push:
       new  63e20652c Suppress additional properties.
63e20652c is described below

commit 63e20652cbff821810b4bf606be898bf07b925a0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Nov 3 16:36:39 2020 -0500

    Suppress additional properties.
---
 .../idp/spring/IdPPropertiesApplicationContextInitializer.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java b/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java
index 3a5421d4f..030f3a4ae 100644
--- a/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java
+++ b/idp-core/src/main/java/net/shibboleth/idp/spring/IdPPropertiesApplicationContextInitializer.java
@@ -291,7 +291,7 @@ public class IdPPropertiesApplicationContextInitializer
      */
     public void logProperties(@Nonnull final Properties properties) {
         if (log.isDebugEnabled()) {
-            final Pattern pattern = Pattern.compile("password|credential|secret|salt", Pattern.CASE_INSENSITIVE);
+            final Pattern pattern = Pattern.compile("password|credential|secret|salt|key", Pattern.CASE_INSENSITIVE);
             for (final String name : new TreeSet<>(properties.stringPropertyNames())) {
                 final Object value = pattern.matcher(name).find() ? "<suppressed>" : properties.get(name);
                 log.debug("Loaded property '{}'='{}'", name, value);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list