summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2015-09-14 10:15:48 +0300
committerMichael Klishin <mklishin@pivotal.io>2015-09-14 10:15:48 +0300
commit93b5a3a8092f52063cbca3ab661c7c6bae43c512 (patch)
tree29a4333fa05497c2b87fadb824e09e7002a0d5e4 /include
parent2eec79191f25368fe60435d5829c028e57426841 (diff)
downloadrabbitmq-server-git-93b5a3a8092f52063cbca3ab661c7c6bae43c512.tar.gz
Introduce per-user hashing functions, default to SHA-256
References #270.
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 6c3b131b34..2b6f68af54 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -27,7 +27,11 @@
-record(authz_socket_info, {sockname, peername}).
%% Implementation for the internal auth backend
--record(internal_user, {username, password_hash, tags}).
+-record(internal_user, {
+ username,
+ password_hash,
+ tags,
+ hashing_algorithm}).
-record(permission, {configure, write, read}).
-record(user_vhost, {username, virtual_host}).
-record(user_permission, {user_vhost, permission}).