Package org.springframework.security.core.userdetails
The standard interfaces for implementing user data DAOs.
Can be the traditional
UserDetailsService
which uses a unique username to identify the user or, for more
complex requirements, the
AuthenticationUserDetailsService
.
-
Interface Summary Interface Description AuthenticationUserDetailsService<T extends Authentication> Interface that allows for retrieving a UserDetails object based on an Authentication object.ReactiveUserDetailsPasswordService An API for changing aUserDetails
password.ReactiveUserDetailsService An API for finding theUserDetails
by username.UserCache Provides a cache ofUserDetails
objects.UserDetails Provides core user information.UserDetailsChecker Called by classes which make use of aUserDetailsService
to check the status of the loaded UserDetails object.UserDetailsPasswordService An API for changing aUserDetails
password.UserDetailsService Core interface which loads user-specific data. -
Class Summary Class Description MapReactiveUserDetailsService AMap
based implementation ofReactiveUserDetailsService
User Models core user information retrieved by aUserDetailsService
.User.UserBuilder Builds the user to be added.UserDetailsByNameServiceWrapper<T extends Authentication> This implementation for AuthenticationUserDetailsService wraps a regular Spring Security UserDetailsService implementation, to retrieve a UserDetails object based on the user name contained in an Authentication object. -
Exception Summary Exception Description UsernameNotFoundException Thrown if anUserDetailsService
implementation cannot locate aUser
by its username.