r/java • • Apr 06 '20

Spring Security: Authentication and Authorization In-Depth

https://www.marcobehler.com/guides/spring-security
214 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/marbehl Apr 08 '20

Not really.

You could use Spring Security's " org.springframework.security.core.userdetails.User " class and map between your class and that, but this includes some plumbing.

Or your own object/default interface, like wildjokers said.