|
14 | 14 | %% Copyright (c) 2007-2014 GoPivotal, Inc. All rights reserved.
|
15 | 15 | %%
|
16 | 16 |
|
| 17 | +%% Passed around most places |
17 | 18 | -record(user, {username,
|
18 | 19 | tags,
|
19 |
| - auth_backend, %% Module this user came from |
20 |
| - impl %% Scratch space for that module |
21 |
| - }). |
| 20 | + authz_backends}). %% List of {Module, AuthUserImpl} pairs |
22 | 21 |
|
| 22 | +%% Passed to auth backends |
| 23 | +-record(auth_user, {username, |
| 24 | + tags, |
| 25 | + impl}). |
| 26 | + |
| 27 | +%% Implementation for the internal auth backend |
23 | 28 | -record(internal_user, {username, password_hash, tags}).
|
24 | 29 | -record(permission, {configure, write, read}).
|
25 | 30 | -record(user_vhost, {username, virtual_host}).
|
|
83 | 88 | is_persistent}).
|
84 | 89 |
|
85 | 90 | -record(ssl_socket, {tcp, ssl}).
|
86 |
| --record(delivery, {mandatory, confirm, sender, message, msg_seq_no}). |
| 91 | +-record(delivery, {mandatory, confirm, sender, message, msg_seq_no, flow}). |
87 | 92 | -record(amqp_error, {name, explanation = "", method = none}).
|
88 | 93 |
|
89 | 94 | -record(event, {type, props, reference = undefined, timestamp}).
|
|
0 commit comments