Skip to content

Commit 0c22837

Browse files
Removes curly braces.
1 parent 9aef8fd commit 0c22837

File tree

1 file changed

+16
-3
lines changed
  • onpremises/05-authentication

1 file changed

+16
-3
lines changed

onpremises/05-authentication/file.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,28 @@ A user with the username of `structurizr` and password of `password` is created
1515
You can add, remove or modify users as needed. Each line in this file should be in the following format:
1616

1717
```
18-
{username}={hashed password}
18+
username=hashed_password
1919
```
2020

21-
A simple utility page is provided to calculate a bcrypt hashed password at `{structurizr.url}/bcrypt/{password}` (e.g. [http://localhost:8080/bcrypt/password](http://localhost:8080/bcrypt/password)).
21+
For example:
22+
23+
```
24+
alice=$2a$06$uM5wM.eJwrPq1RM/gBXRr.d0bfyu9ABxdE56qYbRLSCZzqfR7xHcC
25+
bob=$2a$10$1SIlopeot3Tsyxt5wHAwo.WBQd8PWd.N4rKKM2I89HZIX.R6/idbe
26+
```
27+
28+
A simple utility page is provided to calculate a bcrypt hashed password at `/bcrypt/{password}` (e.g. [http://localhost:8080/bcrypt/password](http://localhost:8080/bcrypt/password)).
2229

2330
It is also possible to configure a comma separated list of roles for every user, in a file called `structurizr.roles`, again in the Structurizr data directory.
2431
Each line in this file should be in the following format:
2532

2633
```
27-
{username}={role1},{role2},{role3}
34+
username=role1,role2,role3
2835
```
2936

37+
For example:
38+
39+
```
40+
alice=role1
41+
bob=role2
42+
```

0 commit comments

Comments
 (0)