List of usage examples for org.springframework.security.openid OpenIDAuthenticationProvider setAuthenticationUserDetailsService
public void setAuthenticationUserDetailsService( AuthenticationUserDetailsService<OpenIDAuthenticationToken> userDetailsService)
From source file:com.erudika.para.security.SecurityConfig.java
/** * Configures the authentication providers * * @param auth a builder/*from w w w . ja v a 2 s. c om*/ * @throws Exception ex */ @Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { OpenIDAuthenticationProvider openidProvider = new OpenIDAuthenticationProvider(); openidProvider.setAuthenticationUserDetailsService(new SimpleUserService()); auth.authenticationProvider(openidProvider); RememberMeAuthenticationProvider rmeProvider = new RememberMeAuthenticationProvider(Config.APP_SECRET_KEY); auth.authenticationProvider(rmeProvider); }