ActiveMQ Security Settings----Set security authentication account and password __activemq

Source: Internet
Author: User

Step One: Open the Conf folder under the ACTIVEMQ installation directory, open the Conf/jetty.xml,

<bean id= "Securityconstraint" class= "Org.eclipse.jetty.util.security.Constraint" >
        <property name= " Name "value=" BASIC "/>
        <property name=" Roles "value=" admin "/> <property name="
        Authenticate " Value= "true"/>
    </bean>
Value value = "false" for property name authenticate, modified to value = "true". The implication is: Launch login security authentication mechanism


Step Two: Configure ACTIVEMQ secure login account and password

Control ACTIVEMQ Security login account and password information is in the Conf/jetty-real.properties configuration file.

# #---------------------------------------------------------------------------# # Licensed to the Apache Software  Foundation (ASF) under one or more # # contributor license agreements.
The NOTICE file distributed with # # work for additional information regarding copyright. # # The ASF licenses this file to you under the Apache License, Version 2.0 # # (the "License");  You are not to use this file except in compliance with # # the License. Obtain a copy of the License at # # # http://www.apache.org/licenses/LICENSE-2.0 # # # unless required by applic  Able or agreed to writing, Software # # Distributed under the License is distributed on ' as is ' basis, # # without
Warranties or CONDITIONS of any KIND, either express OR implied.
# # The License for the specific language governing permissions and # # limitations under the License. # #---------------------------------------------------------------------------# defines users that can access the web ( Console, demo, etc.) # Username:password [, rolename ...] admin:admin, admin


Syntax format:

Account: password [role]

ActiveMQ system with default account: admin, Password: admin, role: admin.








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.