eclipse / hawkbit

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

Improve hawkBit user management #1666

Closed avgustinmm closed 4 months ago

avgustinmm commented 5 months ago
  1. Definded with properties users (static) are configured using property map (no need of indexes)
  2. AuthenticationProvider that authenticates them is always registered (if not needed - don't configure them)
  3. UserDetailService (in case of missing - won't be registered)
  4. Spring security user (spring.security.username) will be registered together with other users (if any). If any - it will be system-wide, otherwise tenant-scoped.
  5. UserPrincipal renamed to TenantAwareUser in order to match its purpose.
  6. Some if its fields are removes as not needed - to be closer to spring security user
hawkbit-bot commented 5 months ago

Can one of the admins verify this patch?