summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-11-26 12:20:57 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-11-26 12:20:57 +0000
commit9696f86d7876a454064d0cd8443e39469792d92b (patch)
tree5a37658cf7c04e2e5bc6ef0a20c03885f390880d /include
parent5b15ac058dd9cfeea49f6dc70032bdc4faf3cdc2 (diff)
parenta5002d7caae282cad2341f6b5b551dbfef95d4f4 (diff)
downloadrabbitmq-server-git-9696f86d7876a454064d0cd8443e39469792d92b.tar.gz
Merge bug26471
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}).