org.kuali.rice.kim.client.acegi
Interface KualiUserDetailsService
- All Superinterfaces:
- org.acegisecurity.userdetails.UserDetailsService
- All Known Implementing Classes:
- KualiUserDetailsServiceImpl
public interface KualiUserDetailsService
- extends org.acegisecurity.userdetails.UserDetailsService
Defines an interface for implementations that wish to provide data
access services to the DaoAuthenticationProvider
.
Kuali Requires CAS to provide the Authentication Source
so
a method is require to get user based on the response
object
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from interface org.acegisecurity.userdetails.UserDetailsService |
loadUserByUsername |
loadUserByTicketResponse
org.acegisecurity.userdetails.UserDetails loadUserByTicketResponse(KualiTicketResponse response)
throws org.acegisecurity.userdetails.UsernameNotFoundException,
org.springframework.dao.DataAccessException
- Locates the user based on the response. 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. Also populates the Authentication Source
as a GrantedAuthority
- Parameters:
response
- the reponse from the TicketValidator presented to the DaoAuthenticationProvider
- Returns:
- a fully populated user record (never
null
)
- Throws:
org.acegisecurity.userdetails.UsernameNotFoundException
- if the user could not be found or the user has no GrantedAuthority
org.springframework.dao.DataAccessException
- if user could not be found for a repository-specific reason
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.