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
ashmelev
12/21/2020, 7:50 PM
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/