This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-dist.git

commit f758e1b530110981dbdeff5e30394287419fd62e
Author: Alex Heneveld <[email protected]>
AuthorDate: Tue Mar 30 11:07:27 2021 +0100

    add more examples to default brooklyn.cfg file
---
 .../src/main/filtered-resources/etc/brooklyn.cfg             | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

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 12068d0..4af1b37 100644
--- a/karaf/apache-brooklyn/src/main/filtered-resources/etc/brooklyn.cfg
+++ b/karaf/apache-brooklyn/src/main/filtered-resources/etc/brooklyn.cfg
@@ -17,12 +17,16 @@
 #
 
################################################################################
 
-# Disabling auth by default.
+# Default configuration does NOT require log in; THIS SHOULD BE CHANGED if on 
a public endpoint
 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
+# One alternative to the above (comment out the provider above and uncomment 
this) 
+# is to allow any localhost access and create a password for other usage
+#brooklyn.webconsole.security.provider = 
org.apache.brooklyn.rest.security.provider.BrooklynUserWithRandomPasswordSecurityProvider
 
-# Web login credentials
-# Credentials for user 'admin'
+# Or to set a password and user, or multiple ones, comment the provider above 
out and uncomment the two lines below
 #brooklyn.webconsole.security.users=admin
 #brooklyn.webconsole.security.user.admin.password=password
+
+# Refer to the documentation for other auth settings, including LDAP, and 
other settings
+

Reply via email to