Mike Fechner
375 posts
Registered:
14 Sep 2016
Answered
23 Aug 2019
in reply to
Roger Blanchard
Link to this post
Hi Roger,
in general your solution would work. However, I would choose different path - given the sensibility of decryptable passwords.
Rather than including the decrypted passwords in every response of the Business Entity I would return them to a caller only in a separate invokable method. The Service Interface could protect that method to give you the extra level of security.
If security is really a concern however, I would not implement the decryption of the passwords in the Business Entity at all. Whoever (the process that does the FTP) should be able to decrypt themselves. So they'd need to know the password algorithm and salt.