public class CrowdUserDetailsServiceMock extends Object implements org.springframework.security.core.userdetails.UserDetailsService
UserDetailsService
defines two accounts to use in the app for tests and dev.
An account with administrator role (admin/admin) and one with user role (user/user)Constructor and Description |
---|
CrowdUserDetailsServiceMock()
Constructor for CrowdUserDetailsServiceMock.
|
public CrowdUserDetailsServiceMock()
Constructor for CrowdUserDetailsServiceMock.
public ICrowdUserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
UserDetails
object that comes back may have a username that is of a different case than what was
actually requested..loadUserByUsername
in interface org.springframework.security.core.userdetails.UserDetailsService
org.springframework.security.core.userdetails.UsernameNotFoundException
Copyright © 2011–2016 eXo Platform SAS. All rights reserved.