@Deprecated public class InMemoryDaoImpl extends Object implements UserDetailsService, InitializingBean
| Constructor and Description |
|---|
InMemoryDaoImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
UserMap |
getUserMap()
Deprecated.
|
UserDetails |
loadUserByUsername(String username)
Deprecated.
Locates the user based on the username.
|
void |
setUserMap(UserMap userMap)
Deprecated.
|
void |
setUserProperties(Properties props)
Deprecated.
Modifies the internal
UserMap to reflect the Properties instance passed. |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic UserMap getUserMap()
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException
UserDetailsServiceUserDetails object that comes back may have a username that is of a different case than what was
actually requested..loadUserByUsername in interface UserDetailsServiceusername - the username identifying the user whose data is required.null)UsernameNotFoundException - if the user could not be found or the user has no GrantedAuthoritypublic void setUserMap(UserMap userMap)
public void setUserProperties(Properties props)
UserMap to reflect the Properties instance passed. This
helps externalise user information to another file etc.props - the account information in a Properties object format