spring security - What is the User class for? -


i've read information documentation didn't understand when should subclass class or use directly.

also don't understand when it's practice create own userdetails. usually, create userdetailsservice , retrieve userdetails there.

do need add functionality 2 classes isn't there? if yes, that's when need create subclasses them.

usually, create userdetailsservice , retrieve userdetails there.

to me looks you're answering question yourself. not need subclass.


Comments

Popular posts from this blog

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -