Shivani Gupta created AMBARI-5944:
-------------------------------------
Summary: Views: Add <encrypt> optional attribute to <parameter> in
view.xml
Key: AMBARI-5944
URL: https://issues.apache.org/jira/browse/AMBARI-5944
Project: Ambari
Issue Type: Task
Affects Versions: 1.6.0
Reporter: Shivani Gupta
Fix For: 1.7.0
Certain parameters that ambari will persist should be optionally encrypted.
One way is to provide a encrypt/decrypt option with the parameter in the view
definition, which will just some basic default encrypt/decrypt.
Another option is to specify a encryption class (implements an interface,
maybe) for callback on read/write of the parameter so view developers can
implement a special way to encrypt/decrypt.
<encrypt-class>my.custom.class</encrypt-class>
<parameter>
<encrypt>true</encrypt>
...
</parameter>
<parameter>
<encrypt>true</encrypt>
...
</parameter>
--
This message was sent by Atlassian JIRA
(v6.2#6252)