Package com.xebialabs.xlrelease.service
Class NonDecryptingPasswordEncrypter
- java.lang.Object
-
- com.xebialabs.deployit.util.PasswordEncrypter
-
- com.xebialabs.xlrelease.service.NonDecryptingPasswordEncrypter
-
- All Implemented Interfaces:
com.xebialabs.deployit.encryption.IPasswordEncrypter
public class NonDecryptingPasswordEncrypter extends com.xebialabs.deployit.util.PasswordEncrypterThis is XLR specific password encrypter. Previous versions of XLR returned decrypted properties. This implementation will NOT return decrypted properties unless the value is variable placeholder (i.e. contains ${...}), or empty value (i.e. missing password is not a password). The idea is to have all properties encrypted by default and to decrypt them only in very isolated places (i.e. when executing scripts of custom script tasks, script tasks, triggers or tile scripts). In those rare places scripts should have access only to the password values of the current release and globally shared configuration objects that are referenced (like JIRA servers and such).
-
-
Constructor Summary
Constructors Constructor Description NonDecryptingPasswordEncrypter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringensureDecrypted(java.lang.String text)
-