Disable auth by default

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/569f6d17
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/569f6d17
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/569f6d17

Branch: refs/heads/master
Commit: 569f6d176555f9bffcc2eee4d52086d840507f14
Parents: c640784
Author: Thomas Bouron <[email protected]>
Authored: Wed Sep 13 14:29:43 2017 +0100
Committer: Thomas Bouron <[email protected]>
Committed: Wed Sep 13 14:29:43 2017 +0100

----------------------------------------------------------------------
 .../src/main/filtered-resources/etc/brooklyn.cfg          | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/569f6d17/karaf/apache-brooklyn/src/main/filtered-resources/etc/brooklyn.cfg
----------------------------------------------------------------------
diff --git a/karaf/apache-brooklyn/src/main/filtered-resources/etc/brooklyn.cfg 
b/karaf/apache-brooklyn/src/main/filtered-resources/etc/brooklyn.cfg
index abf8550..12068d0 100644
--- a/karaf/apache-brooklyn/src/main/filtered-resources/etc/brooklyn.cfg
+++ b/karaf/apache-brooklyn/src/main/filtered-resources/etc/brooklyn.cfg
@@ -17,8 +17,12 @@
 #
 
################################################################################
 
-# Web login credentials
+# Disabling auth by default.
+brooklyn.webconsole.security.provider = 
org.apache.brooklyn.rest.security.provider.AnyoneSecurityProvider
+
+# You can enable basic auth by commenting out the line above and uncomment the 
last 2 lines below
 
+# Web login credentials
 # Credentials for user 'admin'
-brooklyn.webconsole.security.users=admin
-brooklyn.webconsole.security.user.admin.password=password
+#brooklyn.webconsole.security.users=admin
+#brooklyn.webconsole.security.user.admin.password=password

Reply via email to