Hi! I’m new in spring and I need advice. :pray: I ...
# spring
ł
Hi! I’m new in spring and I need advice. 🙏 I have a user (entity) which has many user cards (entities). I need to implement authentication and authorization. A user has one user card in an organization, which store his permissions. What should extend of UserDetails - User or UserCard? 🙏
a
This is not really a Kotlin issue. It's more Spring Security. You should probably start with a basic understanding of how Spring Security is architected and implemented: https://spring.io/guides/gs/securing-web/
☝️ 2