summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-11-14 17:41:03 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-11-14 17:41:03 +0000
commitbf0e335bae5fa304abc3fda05c75f0d073e2bf01 (patch)
treedf002ab0cee79355b05a75ab1973075b6585ffc9 /include
parent221538eee2cb6a1ba38de5e17866a4379b366521 (diff)
parentfeb6d85ccb7d18e9762680e69a3b94c0439ebc9e (diff)
downloadrabbitmq-server-git-bf0e335bae5fa304abc3fda05c75f0d073e2bf01.tar.gz
Merge bug26469
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl11
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}).