update auth
- add tables and repos - add dto
This commit is contained in:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user