io.sdsolutions.particle.security.services.impl.UserDetailsServiceImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of security Show documentation
Show all versions of security Show documentation
Security Components and Configuration for the Particle Framework.
package io.sdsolutions.particle.security.services.impl;
import java.util.ArrayList;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.stereotype.Component;
@Component(value = "userDetailsService")
public class UserDetailsServiceImpl implements UserDetailsService {
public UserDetails loadUserByUsername(String username) {
return new User(username, "", new ArrayList());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy