} else if (item instanceof CredentialItem.CharArrayType) {
CredentialItem.CharArrayType i = (CredentialItem.CharArrayType) item;
i.setValueNoCopy(getConfigurationValueByPrompt(i.getPromptText(), i.isValueSecure()).toCharArray());
} else {
throw new UnsupportedCredentialItem(uri, item.getPromptText());
}
}
return true;
}