if (value != null) {
// find the action bean class we're dealing with
Class<? extends ActionBean> beanClass = tag.getParentFormTag().getActionBeanClass();
if (beanClass != null) {
ValidationMetadata validate = config.getValidationMetadataProvider()
.getValidationMetadata(beanClass, new ParameterName(tag.getName()));
if (validate != null && validate.encrypted()) {
String[] copy = new String[value.length];
for (int i = 0; i < copy.length; i++) {
copy[i] = CryptoUtil.decrypt(value[i]);
}