diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2015-01-09 17:49:05 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2015-01-09 17:49:05 +0000 |
commit | d8c664480f50ee184d6dc60903377f51ef8e644c (patch) | |
tree | 2ec8a0c9a237929e4578806b402e1456e977b293 /include | |
parent | 687c9fec8c94d5d5565a1b08605d483449271eb0 (diff) | |
parent | cd4c9e37d9b30bf2ed6a8b877d86cdc3d9f29a0e (diff) | |
download | rabbitmq-server-master.tar.gz |
Diffstat (limited to 'include')
-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 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}). |