java.lang.Object
com.erudika.para.server.security.SimpleUserService
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
public class SimpleUserService
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService
Simple user service. Looks up users in the data store.
- Author:
- Alex Bogdanovski [[email protected]]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
loadUserByUsername
(String ident) Loads a user from the data store.
-
Constructor Details
-
SimpleUserService
public SimpleUserService()
-
-
Method Details
-
loadUserByUsername
Loads a user from the data store.- Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Parameters:
ident
- the user identifier- Returns:
- a user object or null if user is not found
-