update auth

- add tables and repos
- add dto
This commit is contained in:
Max W.
2025-01-19 19:31:43 +01:00
parent 38c619ae70
commit a8411b6e63
16 changed files with 339 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
package de.w665.biblenotes.rest.security;
import de.w665.biblenotes.db.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Getter;
@Getter
@AllArgsConstructor
public class UserAuthenticationContext {
private String username;
private int userId;
private Role role;
}