thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karen Coppage <kcopp.apa...@gmail.com>
Subject Sensitive variables
Date Mon, 17 Sep 2018 13:39:35 GMT
Hello all,

In my current project I have a struct with both required and optional variables. In its generated
Java code, these are checked with a validate() method, which passes every variable name and
value to a TException via toString().
Trouble is, some of these (optional) variables contain sensitive information that I'd like
to keep out of logs/console/toString/anywhere. Would it be possible to mark these variables
as sensitive, so that toString() ignores them?

This solution might be similar:
https://issues.apache.org/jira/browse/THRIFT-113 <https://issues.apache.org/jira/browse/THRIFT-113>

Many thanks!

K. Coppage
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message