org.springframework.security.core.userdetails
Interface AuthenticationUserDetailsService

All Known Implementing Classes:
AbstractCasAssertionUserDetailsService, GrantedAuthorityFromAssertionAttributesUserDetailsService, PreAuthenticatedGrantedAuthoritiesUserDetailsService, UserDetailsByNameServiceWrapper

public interface AuthenticationUserDetailsService

Interface that allows for retrieving a UserDetails object based on an Authentication object.

Since:
2.0
Version:
$Id: AuthenticationUserDetailsService.java 3558 2009-04-15 07:39:21Z ltaylor $
Author:
Ruud Senden

Method Summary
 UserDetails loadUserDetails(Authentication token)
           
 

Method Detail

loadUserDetails

UserDetails loadUserDetails(Authentication token)
                            throws UsernameNotFoundException
Parameters:
token - The pre-authenticated authentication token
Returns:
UserDetails for the given authentication token, never null.
Throws:
UsernameNotFoundException - if no user details can be found for the given authentication token


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.