|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 InitializingBean
Exception
public UserMap getUserMap()
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException
UserDetailsService
UserDetails
object that comes back may have a username that is of a different case than what was
actually requested..
loadUserByUsername
in interface UserDetailsService
username
- 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |