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? 🙏