Class TMAPIUserDetailsService
java.lang.Object
nl.b3p.planmonitorwonen.api.security.TMAPIUserDetailsService
- All Implemented Interfaces:
org.springframework.security.core.userdetails.AuthenticationUserDetailsService<TMAPIAuthenticationToken>
public class TMAPIUserDetailsService
extends Object
implements org.springframework.security.core.userdetails.AuthenticationUserDetailsService<TMAPIAuthenticationToken>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.core.userdetails.UserDetails
buildUserDetails
(TMAPIAuthenticationToken token, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) org.springframework.security.core.userdetails.UserDetails
-
Constructor Details
-
TMAPIUserDetailsService
public TMAPIUserDetailsService()
-
-
Method Details
-
loadUserDetails
public org.springframework.security.core.userdetails.UserDetails loadUserDetails(TMAPIAuthenticationToken token) throws org.springframework.security.core.userdetails.UsernameNotFoundException - Specified by:
loadUserDetails
in interfaceorg.springframework.security.core.userdetails.AuthenticationUserDetailsService<TMAPIAuthenticationToken>
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-
buildUserDetails
protected org.springframework.security.core.userdetails.UserDetails buildUserDetails(TMAPIAuthenticationToken token, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-