Skip to content

Commit a593ef4

Browse files
authored
Merge pull request #316 from nramc/315-feature-update-all-existing-users-user-name-as-email-address
feat: application user creation on application start up removed due to security risk
2 parents 8aa8426 + a65a3eb commit a593ef4

File tree

3 files changed

+1
-13
lines changed

3 files changed

+1
-13
lines changed

src/main/resources/application-dev.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,10 @@ app:
22
ui-app-url: http://localhost:4200
33
operational:
44
users:
5-
- name: localDevAdmin
6-
username: admin
7-
password: password
8-
roles: AUTHENTICATED_USER, MAINTAINER, ADMINISTRATOR
95
- username: GUEST
106
password: <placeholder>
117
roles: GUEST_USER
128
name: Guest
13-
- username: test-user-001
14-
password: test-password-001
15-
roles: AUTHENTICATED_USER, MAINTAINER
16-
name: Test User 001
179
security:
1810
cors:
1911
properties:

src/main/resources/application.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ app:
2222
ui-app-url: https://nramc.github.io/journeys
2323
operational:
2424
users:
25-
- username: ${OPR_USER}
26-
password: ${OPR_USER_PWD}
27-
roles: ${OPR_USER_ROLES}
28-
name: Administrator
2925
- username: GUEST
3026
password: <placeholder>
3127
roles: GUEST_USER

src/test/resources/http-scripts/journey-crud-scripts.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Login
44
POST {{baseUrl}}/login
5-
Authorization: Basic {{appUsername}} {{appUserPassword}}
5+
Authorization: Basic {{adminUsername}} {{adminUserPassword}}
66

77
> {%
88
client.test("Request executed successfully", function () {

0 commit comments

Comments
 (0)