-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathapplication.yml
82 lines (80 loc) · 1.69 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
server:
port: 8888
session:
timeout: 10 #http session timeout in minutes
# port: 8443
# ssl:
# key-store: classpath:keystore.jks
# key-store-password: secret
# keyStoreType: JKS
# keyAlias: localhost
fileserver:
home: /home/juraj/Downloads
data:
storage: inmemory
anonymous: #setting for anonymous users
role: anonymous #role of anonymous users
admin: #setting for admin users
role: master #role of admin users
users:
- username: master
password: secret
roles:
- master
- public
- anonymous
- username: public
password: secret
roles:
- public
- anonymous
- username: jane
password: secret
roles:
- jane
- public
- anonymous
- username: joe
password: secret
roles:
- joe
- public
- anonymous
filters:
- path: '*'
access: READ_WRITE
roles:
- master
- path: 'public/*'
access: READ_WRITE
roles:
- public
- path: 'jane/*'
access: READ_WRITE
roles:
- jane
- path: 'joe/*'
access: READ_WRITE
roles:
- joe
- path: 'joe/for-jane/*'
access: READ_WRITE
roles:
- joe
- jane
- path: 'joe/for-everybody/*'
access: READ
roles:
- public
- path: 'joe/for-everybody/*'
access: READ_WRITE
roles:
- joe
- path: 'anonymous-read/*'
access: READ
roles:
- anonymous
- path: 'anonymous-readwrite/*'
access: READ_WRITE
roles:
- anonymous