You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,27 @@ You can switch on to show open TODO's for evidence by changing IS_SHOW_EVIDENCE_
27
27
28
28
This page uses the Browser's localStorage to store the state of the circular headmap.
29
29
30
+
# Static Demo Authentication
31
+
32
+
This Angular frontend includes simple static-user authentication for demo and internal
33
+
deployments. All users have the same permissions.
34
+
35
+
Default credentials are defined in `src/app/services/auth.service.ts`:
36
+
37
+
| Username | Password |
38
+
| --- | --- |
39
+
|`admin`|`dsomm-admin`|
40
+
|`auditor`|`dsomm-audit`|
41
+
|`developer`|`dsomm-dev`|
42
+
|`viewer`|`dsomm-view`|
43
+
44
+
Sign in at `/login`. The app stores the current user in the browser's `sessionStorage`, so the
45
+
login lasts only for the current browser session.
46
+
47
+
Security warning: this is frontend-only authentication. It is not secure for production because
48
+
static credentials are shipped in the browser bundle and can be inspected by users. Use a backend
49
+
identity provider or server-side access control for production deployments.
50
+
30
51
# Changes
31
52
Changes to the application are displayed at the release page of [DevSecOps-MaturityModel](https://github.com/devsecopsmaturitymodel/DevSecOps-MaturityModel-data/releases).
0 commit comments