From 03ef8dde8b9935cb88d2d455efd805a3c252cd92 Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Wed, 7 May 2014 14:57:51 -0400 Subject: [PATCH] Javadoc warning to use Secret instead. --- core/src/main/java/hudson/util/Scrambler.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/hudson/util/Scrambler.java b/core/src/main/java/hudson/util/Scrambler.java index 6555edef09..e8f6fe0ac2 100644 --- a/core/src/main/java/hudson/util/Scrambler.java +++ b/core/src/main/java/hudson/util/Scrambler.java @@ -29,12 +29,9 @@ import java.io.IOException; import java.io.UnsupportedEncodingException; /** - * Used when storing passwords in configuration files. - * - *

- * This doesn't make passwords secure, but it prevents unwanted - * exposure to passwords, such as when one is grepping the file system - * or looking at config files for trouble-shooting. + * Scrambles, but does not encrypt, text. + * Do not use this for storing passwords and the like in configuration. + * Use {@link Secret} instead. * * @author Kohsuke Kawaguchi * @see Protector -- GitLab