Map<String, String> customProperties = entity.getCustomProperties(); if (customProperties != null) { Properties properties = new Properties();
Map<String, String> customProperties = entity.getCustomProperties(); if (customProperties != null) { Properties properties = new Properties();
protected MapSqlParameterSource createBaseProviderParametersMapper(Provider<?> entity) { return createIdParameterMapper(entity.getId()) .addValue("name", entity.getName()) .addValue("description", entity.getDescription()) .addValue("url", entity.getUrl()) .addValue("provider_type", EnumUtils.nameOrNull(entity.getType())) .addValue("auth_required", entity.isRequiringAuthentication()) .addValue("auth_username", entity.getUsername()) .addValue("auth_password", DbFacadeUtils.encryptPassword(entity.getPassword())) .addValue("custom_properties", SerializationFactory.getSerializer().serialize(entity.getCustomProperties())) .addValue("auth_url", entity.getAuthUrl()) .addValue("is_unmanaged", entity.getIsUnmanaged()); }
@Override public String toString() { return ToStringBuilder.forInstance(this) .append("id", getId()) .append("name", getName()) .append("description", getDescription()) .append("url", getUrl()) .append("type", getType()) .append("requiringAuthentication", isRequiringAuthentication()) .append("username", getUsername()) .appendFiltered("password", getPassword()) .append("customProperties", getCustomProperties()) .append("additionalProperties", getAdditionalProperties()) .append("authUrl", getAuthUrl()) .append("isUnmanaged", getIsUnmanaged()) .build(); }
Map<String, String> customProperties = entity.getCustomProperties(); if (customProperties != null) { Properties properties = new Properties();