summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-12-09 15:23:38 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-12-09 15:23:38 +0000
commit566fec739ced60f052016928eb6c28662d2b2f62 (patch)
tree374d7e23685c36c31109dfe694d66b1afa2c62f9 /include/rabbit.hrl
parent1749f8c8e0c65a4c09df720ade033706c6d37468 (diff)
parent61e209af2744a9a23140bbb6a6902ff7a016fd55 (diff)
downloadrabbitmq-server-566fec739ced60f052016928eb6c28662d2b2f62.tar.gz
stable to default (Alvaro forgot)
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 74e165cd..9cbd978e 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}).