-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrossbar_config.yml
120 lines (120 loc) · 3.71 KB
/
crossbar_config.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
controller:
id: mdstudio01
options:
title: mdstudio-controller
version: 2
workers:
- realms:
- name: mdstudio
roles:
- name: auth
permissions:
- allow:
call: true
publish: false
register: true
subscribe: false
cache: true
disclose:
caller: true
publisher: true
match: prefix
uri: mdstudio.auth.endpoint
- allow:
call: true
publish: false
register: false
subscribe: true
cache: true
disclose:
caller: false
publisher: false
match: prefix
uri: mdstudio
- allow:
call: true
publish: false
register: false
subscribe: false
cache: true
disclose:
caller: false
publisher: false
match: exact
uri: mdstudio.logger.endpoint.log
- allow:
call: true
subscribe: true
match: prefix
uri: wamp
- authorizer: mdstudio.auth.endpoint.authorize.ring0
name: db
- authorizer: mdstudio.auth.endpoint.authorize.ring0
name: cache
- authorizer: mdstudio.auth.endpoint.authorize.ring0
name: schema
- authorizer: mdstudio.auth.endpoint.authorize.ring0
name: logger
- authorizer: mdstudio.auth.endpoint.authorize.public
name: public
- authorizer: mdstudio.auth.endpoint.authorize.user
name: user
- authorizer: mdstudio.auth.endpoint.authorize.admin
name: admin
- authorizer: mdstudio.auth.endpoint.authorize.oauth
name: oauthclient
transports:
- endpoint:
port: 8080
tls:
certificate: data/crossbar/server_cert.pem
ciphers: >-
ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AES:RSA+3DES:!ADH:!AECDH:!MD5:!DSS
dhparam: data/crossbar/dhparam.pem
key: data/crossbar/server_key.pem
type: tcp
paths:
/:
directory: ../../app/dist
type: static
bower_components:
directory: ../../app/bower_components
type: static
dashboard:
directory: ../../app/dist/index.html
type: static
docking:
directory: ../../app/dist/index.html
type: static
help:
directory: ../../docs/html
type: static
log:
directory: ../../app/dist/index.html
type: static
login:
directory: ../../app/dist/index.html
type: static
md:
directory: ../../app/dist/index.html
type: static
node_modules:
directory: ../../app/node_modules
type: static
ws:
auth:
anonymous:
role: public
type: static
ticket:
type: static
principals:
mdadmin:
ticket: this_should_be_replaced_for_production!@#$%^&*()_+1234567890-=
role: user
scram:
authenticator: mdstudio.auth.endpoint.login
type: dynamic
type: websocket
type: web
type: router