- public interface UserDetailsService
Defines an interface for implementations that wish to provide data access
services to the org.acegisecurity.providers.dao.DaoAuthenticationProvider.
The interface requires only one read-only method, which simplifies support
of new data access strategies.
- Version:
- $Id: UserDetailsService.java,v 1.9 2005/11/29 13:10:10 benalex Exp $
loadUserByUsername
public UserDetails loadUserByUsername(java.lang.String username)
throws UsernameNotFoundException,
org.springframework.dao.DataAccessException
- Locates the user based on the username. In the actual implementation,
the search may possibly be case insensitive, or case insensitive
depending on how the implementaion instance is configured. In this
case, the
UserDetails object that comes back may have a
username that is of a different case than what was actually requested..