public class UserDetailsServiceImpl extends Object implements DuracloudUserDetailsService
| Constructor and Description |
|---|
UserDetailsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
SecurityUserBean |
getUserByUsername(String username) |
List<SecurityUserBean> |
getUsers()
This method returns all of the non-system-defined users.
|
org.springframework.security.userdetails.UserDetails |
loadUserByUsername(String username)
This method retrieves UserDetails for all users from a flat file in
DuraCloud.
|
void |
setUsers(List<SecurityUserBean> users)
This method re-initializes the existing usersTable, then adds the arg
users.
|
public org.springframework.security.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.userdetails.UsernameNotFoundException
loadUserByUsername in interface org.springframework.security.userdetails.UserDetailsServiceusername - of principal for whom details are soughtorg.springframework.security.userdetails.UsernameNotFoundException - if username not foundpublic void setUsers(List<SecurityUserBean> users)
setUsers in interface DuracloudUserDetailsServiceusers - to populate into the usersTablepublic List<SecurityUserBean> getUsers()
getUsers in interface DuracloudUserDetailsServicepublic SecurityUserBean getUserByUsername(String username)
getUserByUsername in interface DuracloudUserDetailsServiceCopyright © 2009-2013 DuraSpace. All Rights Reserved.