Class UserDetailsServiceImpl
java.lang.Object
org.xbricks.common.generic.services.security.UserDetailsServiceImpl
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
@Service("userDetailsService")
@Transactional
public class UserDetailsServiceImpl
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
getActiveUserDetails
(String UserName) org.springframework.security.core.userdetails.UserDetails
loadUserByUsername
(String username) void
setUserUserDetailsConverter
(org.springframework.core.convert.converter.Converter<users, org.springframework.security.core.userdetails.UserDetails> userUserDetailsConverter)
-
Constructor Details
-
UserDetailsServiceImpl
public UserDetailsServiceImpl() -
UserDetailsServiceImpl
-
-
Method Details
-
setUserUserDetailsConverter
@Autowired @Qualifier("userToUserDetails") public void setUserUserDetailsConverter(org.springframework.core.convert.converter.Converter<users, org.springframework.security.core.userdetails.UserDetails> userUserDetailsConverter) -
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException - Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-
GetActiveUserName
-
getActiveUserDetails
public org.springframework.security.core.userdetails.UserDetails getActiveUserDetails(String UserName)
-