From 30f32a73fd23c9161c14611cbfc55bdd734c6685 Mon Sep 17 00:00:00 2001 From: Maxim Gorbunkov Date: Wed, 8 Aug 2018 14:13:09 +0400 Subject: [PATCH] Password encoder id added for the cuba.rest.client.secret value usd for basic auth #1065 --- modules/portal/src/cuba-portal-app.properties | 2 +- modules/web/src/cuba-web-app.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/portal/src/cuba-portal-app.properties b/modules/portal/src/cuba-portal-app.properties index 82f6b575c6..8e98115bf2 100644 --- a/modules/portal/src/cuba-portal-app.properties +++ b/modules/portal/src/cuba-portal-app.properties @@ -69,7 +69,7 @@ cuba.portal.templateLoaderPath = /WEB-INF/templates/ # Credentials for REST API client cuba.rest.client.id = client -cuba.rest.client.secret = secret +cuba.rest.client.secret = {noop}secret # A token expiration time in seconds for the default client (12 hours) cuba.rest.client.tokenExpirationTimeSec = 43200 diff --git a/modules/web/src/cuba-web-app.properties b/modules/web/src/cuba-web-app.properties index eaeb2eb22d..4d467b95df 100644 --- a/modules/web/src/cuba-web-app.properties +++ b/modules/web/src/cuba-web-app.properties @@ -75,7 +75,7 @@ cuba.trustedClientPassword=MLdWm1Ik4NmM # Credentials for REST API client cuba.rest.client.id=client -cuba.rest.client.secret=secret +cuba.rest.client.secret={noop}secret # An access token expiration time in seconds for the default client (12 hours) cuba.rest.client.tokenExpirationTimeSec=43200