<div class="docbook"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">12.3. Broker Users</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="Java-Broker-Docker-Running-The-Container.html">Prev</a> </td><th width="60%" align="center">Chapter 12. Docker Images</th><td width="20%" align="right"> <a accesskey="n" href="Java-Broker-Docker-Broker-Customization.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Java-Broker-Docker-Broker-Users"></a>12.3. Broker Users</h2></div></div></div><p> | |
Default configuration provides a preconfigured broker user, having read and write access to all broker objects: | |
</p><p> | |
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>admin (default password 'admin')</p></li></ul></div><p> | |
</p><p> | |
Username of the 'admin' user can be overridden be providing the variable QPID_ADMIN_USER on start, and the default | |
password of the 'admin' user can be overridden be providing the variable QPID_ADMIN_PASSWORD on start: | |
</p><p> | |
</p><pre class="programlisting"> | |
docker run -d -p 5672:5672 -p 8080:8080 -v qpid_volume:/qpid-broker-j/work -e QPID_ADMIN_USER=myuser -e QPID_ADMIN_PASSWORD=mypassword --name qpid <IMAGE_NAME> | |
</pre><p> | |
</p><p> | |
Further broker users as well as other broker objects (queues, exchanges, keystores, truststore, ports etc.) | |
can be created via HTTP management interface. Description of the broker REST API can be found in broker book | |
(<a class="link" href="Java-Broker-Management-Channel-REST-API.html" title="6.3. REST API">chapter 6.3</a>). | |
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="Java-Broker-Docker-Running-The-Container.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="Java-Broker-Docker.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="Java-Broker-Docker-Broker-Customization.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">12.2. Running the Container </td><td width="20%" align="center"><a accesskey="h" href="Apache-Qpid-Broker-J-Book.html">Home</a></td><td width="40%" align="right" valign="top"> 12.4. Broker Customization</td></tr></table></div></div> |