@@ -0,0 +1,747 @@
+package info.rolandkrueger.userservice.api.service;%0A%0Aimport com.google.common.base.Preconditions;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.security.authentication.dao.DaoAuthenticationProvider;%0Aimport org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;%0Aimport org.springframework.stereotype.Component;%0A%0A/**%0A * @author Roland Kr%C3%BCger%0A */%0A@Component%0Apublic class UserServiceAuthenticationProvider extends DaoAuthenticationProvider %7B%0A    @Autowired%0A    public UserServiceAuthenticationProvider(UserMicroserviceEndpointProvider endpointProvider) %7B%0A        setPasswordEncoder(new BCryptPasswordEncoder());%0A        setUserDetailsService(new UserDetailServiceImpl(endpointProvider));%0A    %7D%0A%7D%0A

Add authentication provider