diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-12-05 12:18:42 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-12-05 12:18:42 +0000 |
| commit | 07508eb322b390a0ec87f1688ea3caa98f73cc8d (patch) | |
| tree | cc1b0acd3538c96594faa77c6594f1ae27e843c5 /include/rabbit.hrl | |
| parent | 9c809d9e2b7e661cba7beeb8fe3d397bf02354a2 (diff) | |
| parent | b5431fd4a55958f6ceabf71767a806feb2b0e132 (diff) | |
| download | rabbitmq-server-git-07508eb322b390a0ec87f1688ea3caa98f73cc8d.tar.gz | |
stable to default
Diffstat (limited to 'include/rabbit.hrl')
| -rw-r--r-- | include/rabbit.hrl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 74e165cd9b..9cbd978e42 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -14,12 +14,17 @@ %% Copyright (c) 2007-2014 GoPivotal, Inc. All rights reserved. %% +%% Passed around most places -record(user, {username, tags, - auth_backend, %% Module this user came from - impl %% Scratch space for that module - }). + authz_backends}). %% List of {Module, AuthUserImpl} pairs +%% Passed to auth backends +-record(auth_user, {username, + tags, + impl}). + +%% Implementation for the internal auth backend -record(internal_user, {username, password_hash, tags}). -record(permission, {configure, write, read}). -record(user_vhost, {username, virtual_host}). |
