Module org.summerb.webboilerplate
Class UserDetailsServiceDefaultImpl
- java.lang.Object
-
- org.summerb.webappboilerplate.security.impls.UserDetailsServiceDefaultImpl
-
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
public class UserDetailsServiceDefaultImpl extends Object implements org.springframework.security.core.userdetails.UserDetailsService
- Author:
- sergeyk
-
-
Field Summary
Fields Modifier and Type Field Description protected PermissionService
permissionService
protected UserService
userService
-
Constructor Summary
Constructors Constructor Description UserDetailsServiceDefaultImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionService
getPermissionService()
UserService
getUserService()
org.springframework.security.core.userdetails.UserDetails
loadUserByUsername(String userEmail)
void
setPermissionService(PermissionService permissionService)
void
setUserService(UserService userService)
-
-
-
Field Detail
-
userService
protected UserService userService
-
permissionService
protected PermissionService permissionService
-
-
Method Detail
-
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String userEmail) throws org.springframework.security.core.userdetails.UsernameNotFoundException
- Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-
getUserService
public UserService getUserService()
-
setUserService
@Autowired public void setUserService(UserService userService)
-
getPermissionService
public PermissionService getPermissionService()
-
setPermissionService
@Autowired public void setPermissionService(PermissionService permissionService)
-
-