[rabbitmq-discuss] Authentication Backend HTTP

eleanor evangeline.eleanor at gmail.com
Sun Jul 1 23:01:17 BST 2012

Hi, I found the following plugin, which I think can be a great way to extend
the rabbitmq: https://github.com/simonmacmullen/rabbitmq-auth-backend-http

But since I'm only starting with rabbitmq, I downloaded the rabbitmq
development tools like it says here
http://www.rabbitmq.com/plugin-development.html . So the plugins/ directory
under rabbitmq-server contains the following:
    # ls plugins/
    lrwxrwxrwx 1 eleanor eleanor 32 Jul  1 19:22 rabbitmq-auth-backend-http
-> ../../rabbitmq-auth-backend-http
    lrwxrwxrwx 1 eleanor eleanor 28 Jul  1 18:47 rabbitmq-erlang-client ->

This should be fine, since the rabbitmq-auth-backend-http is enabled. The
problem happens with the enable command:
    # rabbitmq-plugins enable rabbitmq_auth_backend_http
    Error: The following plugins could not be found:

And when I compile and run the rabbitmq, the plugin is not loaded:
# make run
RABBITMQ_PLUGINS_EXPAND_DIR="/tmp/rabbitmq-rabbit-plugins-scratch" \
kernel-poll not supported; "K" parameter ignored
Erlang R13B04 (erts-5.7.5) [source] [64-bit] [rq:1] [async-threads:30]

Eshell V5.7.5  (abort with ^G)
(rabbit at rabbit1)1> Warning: the following enabled plugins were not found:

+---+   +---+
|   |   |   |
|   |   |   |
|   |   |   |
|   +---+   +-------+
|                   |
| RabbitMQ  +---+   |
|           |   |   |
| v%%VSN%%  +---+   |
|                   |
AMQP 0-9-1 / 0-9 / 0-8
Copyright (C) 2007-2012 VMware, Inc.
Licensed under the MPL.  See http://www.rabbitmq.com/

node           : rabbit at rabbit1
app descriptor :
home dir       : /root
config file(s) : (none)
cookie hash    : 6VhgzI7kqUE7mzyaNL+b7Q==
log            : /tmp/rabbit at rabbit1.log
sasl log       : /tmp/rabbit at rabbit1-sasl.log
database dir   : /tmp/rabbitmq-rabbit-mnesia
erlang version : 5.7.5

-- rabbit boot start
starting file handle cache server                                    
starting worker pool                                                 
starting database                                                    
starting database sync                                               
starting codec correctness check                                     
-- external infrastructure ready
starting statistics event manager                                    
starting logging server                                              
starting plugin registry                                             
starting auth mechanism amqplain                                     
starting auth mechanism cr-demo                                      
starting auth mechanism plain                                        
starting exchange type direct                                        
starting exchange type fanout                                        
starting exchange type headers                                       
starting exchange type topic                                         
-- kernel ready
starting node monitor                                                
starting cluster delegate                                            
starting guid generator                                              
starting alarm handler                                               
starting memory monitor                                              
-- core initialized
starting empty DB check                                              
starting policy parameters                                           
starting exchange, queue and binding recovery                        
starting mirror queue slave sup                                      
starting adding mirrors to queues                                    
-- message delivery logic ready
starting error log relay                                             
starting networking                                                  
starting notify cluster nodes                                        
starting direct client                                               

broker running

Does anybody have any idea how to install the HTTP backend to test it out?
Btw: why isn't this plugin part of the default plugins if rabbitmq?

View this message in context: http://rabbitmq.1065348.n5.nabble.com/Authentication-Backend-HTTP-tp20476.html
Sent from the RabbitMQ mailing list archive at Nabble.com.

More information about the rabbitmq-discuss mailing list