Skip to content

Glossary: Spring Boot Beyond the Basics

UserDetailsService

Also written: UsernameNotFoundException

A Spring Security interface with one method that takes a username and returns the matching user. It can load accounts from a table, and an unknown username throws `UsernameNotFoundException`, which results in a 401.

Where the book teaches it

Related terms

AuthenticationBCrypt