diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-11-19 15:36:00 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-11-19 15:36:00 +0000 |
| commit | 5aa8956519d383339160ca9f2e1dcacf397ea263 (patch) | |
| tree | 4ac2dadb4f5617e0a9dba9c6df174f06399a8922 /include/rabbit.hrl | |
| parent | c9d4f77de6c4845f262a12ad730aa592c7579142 (diff) | |
| download | rabbitmq-server-git-5aa8956519d383339160ca9f2e1dcacf397ea263.tar.gz | |
Rather impressionistic sketch of how pluggable auth backends might start out.
Diffstat (limited to 'include/rabbit.hrl')
| -rw-r--r-- | include/rabbit.hrl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index a1987fb292..b4f348a28a 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -29,7 +29,10 @@ %% Contributor(s): ______________________________________. %% --record(user, {username, password_hash, is_admin}). +-record(user, {username, is_admin, auth_backend, impl}). + +%% TODO mnesia-upgrade this +-record(internal_user, {username, password_hash, is_admin}). -record(permission, {configure, write, read}). -record(user_vhost, {username, virtual_host}). -record(user_permission, {user_vhost, permission}). |
