Skip to content

Commit

Permalink
Change backend user param name
Browse files Browse the repository at this point in the history
To be reusable by other PASS services
  • Loading branch information
rpoet-jh committed Oct 7, 2024
1 parent 22a526d commit d51ce26
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pass-core-main/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions pass-core-main/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d51ce26

Please sign in to comment.