private static void setEncryptedProperty()

in teamcity-kubernetes-plugin-server/src/main/java/jetbrains/buildServer/internal/PluginPropertiesUtil.java [47:54]


    private static void setEncryptedProperty(final String paramName, final HttpServletRequest request,
                                             final BasePropertiesBean bean, final boolean includeEmptyValues) {
        String propName = paramName.substring(ENCRYPTED_PROPERTY_PREFIX.length());
        String propertyValue = RSACipher.decryptWebRequestData(request.getParameter(paramName));
        if (propertyValue != null && (includeEmptyValues || propertyValue.length() > 0)) {
            bean.setProperty(propName, toUnixLineFeeds(propertyValue));
        }
    }