ACTIVEMQ's web Management console

Source: Internet
Author: User

ACTIVEMQ has a web management side.
Starting mode:./bin/activemq

About Jetty.xml, Jetty-realm.properties, Web. xml

Jetty.xml configuration IP and port default is 8161.

<bean id="jettyPort" class="org.apache.activemq.web.WebConsolePort" init-method="start">      <property name="host" value="0.0.0.0"/>      <property name="port" value="8162"/></bean>

Jetty.xml access rights for different roles.

    <bean id= "Securityloginservice" class= "Org.eclipse.jetty.security.HashLoginService" > <property nam  E= "name" value= "Activemqrealm"/> <property name= "config" value= "${activemq.conf}/jetty-realm.properties"            /> </bean> <bean id= "Securityconstraint" class= "Org.eclipse.jetty.util.security.Constraint" >            <property name= "name" value= "BASIC"/> <property name= "Roles" value= "User,admin"/> <property name= "Authenticate" value= "true"/> </bean> <bean id= "Adminsecurityconstraint" class= "org.e  Clipse.jetty.util.security.Constraint "> <property name=" name "value=" BASIC "/> <property Name= "Roles" value= "admin"/> <property name= "Authenticate" value= "true"/> </bean> <b Ean id= "securityconstraintmapping" class= "org.eclipse.jetty.security.ConstraintMapping" > <property name= " Constraint "ref=" SecuritYconstraint "/> <property name=" Pathspec "value="/api/*,/admin/*,*.jsp "/> </bean> <bea n id= "adminsecurityconstraintmapping" class= "org.eclipse.jetty.security.ConstraintMapping" > <property nam E= "constraint" ref= "Adminsecurityconstraint"/> <property name= "Pathspec" value= "*.action"/> </ Bean>

Jetty-realm.properties Configuring user names and passwords and role classifications

admin: admin123, adminuser: user123, user

Control Interface

ACTIVEMQ's web Management console

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.