eclipse-hawkbit / hawkbit

Eclipse hawkBit™
https://projects.eclipse.org/projects/iot.hawkbit
Eclipse Public License 2.0
468 stars 189 forks source link

Change UI demo account setting does not work #457

Closed embeddedgeeks closed 11 months ago

embeddedgeeks commented 7 years ago

change UI demo account settings does not work:

examples/hawkbit-example-app/src/main/resources/application.properties

UI demo account

hawkbit.server.ui.demo.password=admin123 hawkbit.server.ui.demo.user=admin hawkbit.server.ui.demo.tenant=SOMETENANT

michahirsch commented 7 years ago

Hi,

this is a little bit misleading, because the demo-account is used to automatically login to hawkBit by clicking the demo button. See the sandbox login dialog https://hawkbit.eu-gb.mybluemix.net/.

If you want to change the login username and password you need to change the following properties

# User Security
security.user.name=admin
security.user.password=admin

The tenant is always DEFAULT for the in-memory user management

Cheers, Michael

embeddedgeeks commented 7 years ago

Hi, thanks for the quick answer! It means it's not possible to customize the Tenant ?

Cheers

michahirsch commented 7 years ago

No the tenant is not configurable in the default in-memory user management, see https://github.com/eclipse/hawkbit/blob/master/hawkbit-autoconfigure/src/main/java/org/eclipse/hawkbit/autoconfigure/security/InMemoryUserManagementAutoConfiguration.java

So without coding you are not able to set the tenant.

We could introduce a property for that to set the tenant as well.

avgustinmm commented 11 months ago

Vaadin 8 UI is discontinued - https://eclipse.dev/hawkbit/blog/2023-11-22-vaadin8_ui_discontinuation/