activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject git commit: Added details how to disable login in web consoles.
Date Mon, 07 Oct 2013 10:50:08 GMT
Updated Branches:
  refs/heads/trunk 75c659f12 -> 0da02fca9


Added details how to disable login in web consoles.


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/0da02fca
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/0da02fca
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/0da02fca

Branch: refs/heads/trunk
Commit: 0da02fca9d81c72052d7516e15a25ef00c6cd05b
Parents: 75c659f
Author: Claus Ibsen <claus.ibsen@gmail.com>
Authored: Mon Oct 7 12:50:00 2013 +0200
Committer: Claus Ibsen <claus.ibsen@gmail.com>
Committed: Mon Oct 7 12:50:00 2013 +0200

----------------------------------------------------------------------
 assembly/src/release/WebConsole-README.txt | 3 ++-
 assembly/src/release/conf/activemq.xml     | 1 +
 assembly/src/release/conf/jetty.xml        | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/0da02fca/assembly/src/release/WebConsole-README.txt
----------------------------------------------------------------------
diff --git a/assembly/src/release/WebConsole-README.txt b/assembly/src/release/WebConsole-README.txt
index 2d82ba1..6024e3c 100644
--- a/assembly/src/release/WebConsole-README.txt
+++ b/assembly/src/release/WebConsole-README.txt
@@ -18,7 +18,8 @@ same VM as the broker. The console is accessibly under http://localhost:8161/haw
 
 The broker may ask for credentials to login the web console the first time.
 The default username and password is admin/admin. You can configure this in the
-conf/jetty-real.properties file.
+conf/jetty-real.properties file.  And in the conf/jetty.xml file you can configure
+to disable login for the web consoles.
 
 However it's also possible to start the web console in a separate VM and connect it
 to the broker via JMS and JMX. The reasons to do so may include increased reliability

http://git-wip-us.apache.org/repos/asf/activemq/blob/0da02fca/assembly/src/release/conf/activemq.xml
----------------------------------------------------------------------
diff --git a/assembly/src/release/conf/activemq.xml b/assembly/src/release/conf/activemq.xml
index 126c871..d9edd97 100755
--- a/assembly/src/release/conf/activemq.xml
+++ b/assembly/src/release/conf/activemq.xml
@@ -161,6 +161,7 @@
 
     <!--
         Enable web consoles, REST and Ajax APIs and demos
+        The web consoles requires by default login, you can disable this in the jetty.xml
file
 
         Take a look at ${ACTIVEMQ_HOME}/conf/jetty.xml for more details
     -->

http://git-wip-us.apache.org/repos/asf/activemq/blob/0da02fca/assembly/src/release/conf/jetty.xml
----------------------------------------------------------------------
diff --git a/assembly/src/release/conf/jetty.xml b/assembly/src/release/conf/jetty.xml
index 17ba466..696487f 100644
--- a/assembly/src/release/conf/jetty.xml
+++ b/assembly/src/release/conf/jetty.xml
@@ -28,11 +28,13 @@
     <bean id="securityConstraint" class="org.eclipse.jetty.util.security.Constraint">
         <property name="name" value="BASIC" />
         <property name="roles" value="user,admin" />
+        <!-- set authenticate=false to disable login -->
         <property name="authenticate" value="true" />
     </bean>
     <bean id="adminSecurityConstraint" class="org.eclipse.jetty.util.security.Constraint">
         <property name="name" value="BASIC" />
         <property name="roles" value="admin" />
+         <!-- set authenticate=false to disable login -->
         <property name="authenticate" value="true" />
     </bean>
     <bean id="securityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping">


Mime
View raw message