[
https://issues.apache.org/jira/browse/AMBARI-8660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Levas updated AMBARI-8660:
---------------------------------
Attachment: AMBARI-8660_01.patch
Added encryption and decryption methods to
{{org.apache.ambari.server.serveraction.kerberos.KerberosCredential}}
Added unit test class
{{org.apache.ambari.server.serveraction.kerberos.KerberosCredentialTest}}
Patch File [^AMBARI-8660_01.patch]
> KerberosCredential class should encrypt and decrypt itself
> ----------------------------------------------------------
>
> Key: AMBARI-8660
> URL: https://issues.apache.org/jira/browse/AMBARI-8660
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Labels: kerberos
> Fix For: 2.0.0
>
> Attachments: AMBARI-8660_01.patch
>
>
> Due to the nature of the
> data,{{org.apache.ambari.server.serveraction.kerberos.KerberosCredential}}
> should provide a facility to encrypt and decrypt itself.
> For encryption, the caller should provide the KerberosCredential instance and
> a key.
> For decryption, the caller should provide the encrypted data (base64-encoded
> string) and the key.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)