Interface ApiTokenDetailsService

All Superinterfaces:
org.springframework.security.core.userdetails.AuthenticationUserDetailsService<ApiTokenAuthenticationToken>

public interface ApiTokenDetailsService extends org.springframework.security.core.userdetails.AuthenticationUserDetailsService<ApiTokenAuthenticationToken>
Load details based on token.
  • Method Details

    • loadUserDetails

      ApiTokenDetailsService.ApiTokenDetails<? extends AclSid> loadUserDetails(ApiTokenAuthenticationToken token) throws org.springframework.security.core.userdetails.UsernameNotFoundException
      Specified by:
      loadUserDetails in interface org.springframework.security.core.userdetails.AuthenticationUserDetailsService<ApiTokenAuthenticationToken>
      Parameters:
      token - The pre-authenticated authentication token
      Returns:
      UserDetails for the given authentication token, never null.
      Throws:
      org.springframework.security.core.userdetails.UsernameNotFoundException - if no user details can be found for the given authentication token