Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public interface UserDetailsService
Known subtypesInMemoryUserDetailsManager, JdbcUserDetailsManager, UserDetailsManager
Finds a user by the name typed at sign-in. Declare a bean of this type and a
chain with
formLogin or httpBasic authenticates against it.Methods
public abstract UserDetails loadUserByUsername(String username) | The user of that name; never null. |
Method details
loadUserByUsername
public abstract UserDetails loadUserByUsername(String username)The user of that name; never null.
Throws
UsernameNotFoundException- when there is none, or the user has no authority at all