hawkbit icon indicating copy to clipboard operation
hawkbit copied to clipboard

Change UI demo account setting does not work

Open embeddedgeeks opened this issue 8 years ago • 3 comments

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

embeddedgeeks avatar Mar 13 '17 17:03 embeddedgeeks

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

michahirsch avatar Mar 14 '17 07:03 michahirsch

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

Cheers

embeddedgeeks avatar Mar 14 '17 09:03 embeddedgeeks

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.

michahirsch avatar Mar 14 '17 09:03 michahirsch