|
spring-security-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.core.userdetails.memory.InMemoryDaoImpl
@Deprecated public class InMemoryDaoImpl
Retrieves user details from an in-memory list created by the bean context.
| Constructor Summary | |
|---|---|
InMemoryDaoImpl()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InMemoryDaoImpl()
| Method Detail |
|---|
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
|
spring-security-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||