model.setUrl(entity.getUrl()); if (entity.getAuthUrl() != null) { model.setAuthenticationUrl(entity.getAuthUrl());
model.setUrl(entity.getUrl()); if (entity.getAuthUrl() != null) { model.setAuthenticationUrl(entity.getAuthUrl());
model.setUrl(entity.getUrl()); if (entity.getAuthUrl() != null) { model.setAuthenticationUrl(entity.getAuthUrl());
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(); }
getPassword().setEntity(provider.getPassword()); if (provider.isRequiringAuthentication() && provider.getType().isAuthUrlAware()) { Uri uri = new Uri(provider.getAuthUrl()); if (uri.isValid()) { getAuthProtocol().setSelectedItem(Uri.SCHEME_HTTPS.equals(uri.getScheme()) ?