[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 ->
../../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:
rabbitmq_auth_backend_http

And when I compile and run the rabbitmq, the plugin is not loaded:
# make run
RABBITMQ_NODE_IP_ADDRESS="" RABBITMQ_NODE_PORT="" RABBITMQ_LOG_BASE="/tmp"
RABBITMQ_MNESIA_DIR="/tmp/rabbitmq-rabbit-mnesia"
RABBITMQ_PLUGINS_EXPAND_DIR="/tmp/rabbitmq-rabbit-plugins-scratch" \
        RABBITMQ_ALLOW_INPUT=true \
        RABBITMQ_SERVER_START_ARGS="" \
        ./scripts/rabbitmq-server
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_auth_mechanism_ssl,
                                                        rabbitmq_management]

+---+   +---+
|   |   |   |
|   |   |   |
|   |   |   |
|   +---+   +-------+
|                   |
| 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/eleanor/testing/rabbitmq-public-umbrella/rabbitmq-server/scripts/../ebin/rabbit.app
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                                    
...done
starting worker pool                                                 
...done
starting database                                                    
...done
starting database sync                                               
...done
starting codec correctness check                                     
...done
-- external infrastructure ready
starting statistics event manager                                    
...done
starting logging server                                              
...done
starting plugin registry                                             
...done
starting auth mechanism amqplain                                     
...done
starting auth mechanism cr-demo                                      
...done
starting auth mechanism plain                                        
...done
starting exchange type direct                                        
...done
starting exchange type fanout                                        
...done
starting exchange type headers                                       
...done
starting exchange type topic                                         
...done
-- kernel ready
starting node monitor                                                
...done
starting cluster delegate                                            
...done
starting guid generator                                              
...done
starting alarm handler                                               
...done
starting memory monitor                                              
...done
-- core initialized
starting empty DB check                                              
...done
starting policy parameters                                           
...done
starting exchange, queue and binding recovery                        
...done
starting mirror queue slave sup                                      
...done
starting adding mirrors to queues                                    
...done
-- message delivery logic ready
starting error log relay                                             
...done
starting networking                                                  
...done
starting notify cluster nodes                                        
...done
starting direct client                                               
...done

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