5.0

Basic auth

User Accounts are managed by Lenses and a unique username and a password are used to login.

Permissions 

User Accounts belong to Groups and inherit the permissions. You can add and manage User Accounts via Lenses UI or Lenses CLI or API .

Accounts storage 

The internal database that stores user/group information is stored on disk, under the lenses.storage.directory.

Keep this directory intact between updates and upgrades.

Password rules 

To enforce specific password rules the following configurations need to be set:

# The regex to check the password. If it does not meet the requirements adding a user account or changing the
# password will be rejected.
lenses.security.basic.password.rules.regex = "((?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%]).{6,20})"

# Human readable description for the password rule. This will be returned to the user when the requirements fail
lenses.security.basic.password.rules.desc = "Password needs to contain: one lower case, one upper case, 1 number, one special character, and have a length of 6 to 20 characters"

Password history 

To not allow previous passwords to be reused, use the following configuration:

# When a user tries to change her password, she cannot use any the last # passwords used in the past
# Default value is 1
lenses.security.basic.password.history.count = 3