use of org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesUserDetailsService in project syndesis by syndesisio.
the class SecurityConfiguration method authenticationProvider.
private AuthenticationProvider authenticationProvider() {
PreAuthenticatedAuthenticationProvider authProvider = new PreAuthenticatedAuthenticationProvider();
authProvider.setPreAuthenticatedUserDetailsService(new PreAuthenticatedGrantedAuthoritiesUserDetailsService());
return authProvider;
}
Aggregations