Class PlainUsernamePasswordUserDetailsService
- java.lang.Object
-
- de.digitalcollections.commons.springsecurity.service.PlainUsernamePasswordUserDetailsService
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.security.core.userdetails.UserDetailsService
@Service @Configuration public class PlainUsernamePasswordUserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description PlainUsernamePasswordUserDetailsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()org.springframework.security.core.userdetails.UserDetailsloadUserByUsername(String username)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
- Specified by:
loadUserByUsernamein interfaceorg.springframework.security.core.userdetails.UserDetailsService- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-
-