public interface

AuthenticationUserDetailsService

org.springframework.security.core.userdetails.AuthenticationUserDetailsService<T extends org.springframework.security.core.Authentication>
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
abstract UserDetails loadUserDetails(T token)

Public Methods

public abstract UserDetails loadUserDetails (T token)

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