}
@Override
public void setAsText(String text) throws IllegalArgumentException {
try {
JavabeanDocument document = JavabeanDocument.Factory.parse(text);
JavabeanType javaBeanType = document.getJavabean();
for (PropertyType propertyType : javaBeanType.getPropertyArray()) {
if (propertyType.getName().endsWith("Password") || propertyType.getName().endsWith("password")) {
String decryptedValue = (String) EncryptionManager.decrypt(propertyType.getStringValue());
propertyType.setStringValue(decryptedValue);