From d51ce26e09162439ba475f450d64b94806a05d1b Mon Sep 17 00:00:00 2001 From: Russ Poetker Date: Mon, 7 Oct 2024 10:01:58 -0400 Subject: [PATCH] Change backend user param name To be reusable by other PASS services --- README.md | 4 ++-- pass-core-main/.env | 4 ++-- pass-core-main/src/main/resources/application.yaml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8406454c..5f5dc931 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,8 @@ Environment variables: * PASS_CORE_DATABASE_PASSWORD=moo * PASS_CORE_PORT=8080 * PASS_CORE_LOG_DIR=${java.io.tmpdir}/pass-core -* PASS_CORE_BACKEND_USER=backend -* PASS_CORE_BACKEND_PASSWORD=moo +* PASS_CORE_USER=backend +* PASS_CORE_PASSWORD=moo * PASS_CORE_USE_SQS=false * PASS_CORE_EMBED_JMS_BROKER=true * PASS_CORE_SUBMISSION_QUEUE=pass-submission diff --git a/pass-core-main/.env b/pass-core-main/.env index 35517e82..0e5deae4 100644 --- a/pass-core-main/.env +++ b/pass-core-main/.env @@ -24,8 +24,8 @@ PASS_CORE_DATABASE_URL=jdbc:postgresql://postgres:5432/pass PASS_CORE_DATABASE_USERNAME=pass PASS_CORE_DATABASE_PASSWORD=moo -PASS_CORE_BACKEND_USER=backend -PASS_CORE_BACKEND_PASSWORD=moo +PASS_CORE_USER=backend +PASS_CORE_PASSWORD=moo PASS_CORE_PORT=8080 PASS_CORE_BASE_URL=http://localhost:8080 diff --git a/pass-core-main/src/main/resources/application.yaml b/pass-core-main/src/main/resources/application.yaml index d14973a6..71536c51 100644 --- a/pass-core-main/src/main/resources/application.yaml +++ b/pass-core-main/src/main/resources/application.yaml @@ -68,8 +68,8 @@ spring: assertingparty: metadata-uri: ${PASS_CORE_IDP_METADATA:classpath:saml2/idp-metadata.xml} user: - name: ${PASS_CORE_BACKEND_USER:backend} - password: ${PASS_CORE_BACKEND_PASSWORD:moo} + name: ${PASS_CORE_USER:backend} + password: ${PASS_CORE_PASSWORD:moo} roles: BACKEND servlet: multipart: @@ -146,8 +146,8 @@ spring: driver-class-name: 'org.postgresql.Driver' security: user: - name: ${PASS_CORE_BACKEND_USER} - password: ${PASS_CORE_BACKEND_PASSWORD} + name: ${PASS_CORE_USER} + password: ${PASS_CORE_PASSWORD} roles: BACKEND server: