[SECURITY-266] Conceal ciphertext from REST config.xml.

This commit is contained in:
Jesse Glick committed 2016-04-20 09:14:42 -04:00
1 parent 82b4235979
commit e8f6410793
5 files changed
+65 -7

No files matched your search

+1 -1
View File
@@ -1720,7 +1720,7 @@ public class Functions {
if (req != null) {
Item item = req.findAncestorObject(Item.class);
if (item != null && !item.hasPermission(Item.CONFIGURE)) {
return "<some secret>";
return "(some secret)";
}
}
return ((Secret) o).getEncryptedValue();