List of usage examples for org.springframework.security.config.annotation.authentication.builders AuthenticationManagerBuilder authenticationProvider
public AuthenticationManagerBuilder authenticationProvider(AuthenticationProvider authenticationProvider)
From source file:com.swordcode.webcore.security.server.WebSecurityConfig.java
@Override public void configure(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(_config.authenticationProvider()); // auth.userDetailsService(_config.userDetailsService()); _config.setAuthenticationManager(auth.build()); }
From source file:demo.spring.config.WebSecurityConfig.java
@Override protected void registerAuthentication(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(this.authenticator); auth.userDetailsService(this.authenticator); }
From source file:com.boaglio.config.SecureConfig.java
@Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(authProvider); }
From source file:com.vaadinspring.components.SecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(cust); // auth.inMemoryAuthentication().withUser("user").password("user").roles("USER"); // auth.inMemoryAuthentication().withUser("admin").password("admin").roles("ADMIN"); }
From source file:org.kamranzafar.xmpp.template.config.SecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(xmppAuthenticationProvider); }
From source file:com.himanshu.poc.springbootsec.security.SecurityConfigurer.java
@Override public void configure(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(authenticationProviderImpl); }
From source file:com.acme.portal.SecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(keycloakAuthenticationProvider()); }
From source file:de.msg.security.SecurityConfiguration.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) { auth.authenticationProvider(preAuthAuthProvider()); }
From source file:org.ingini.spring.boot.mongodb.config.SecurityConfig.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(authenticationProvider); }
From source file:hr.foi.sis.conf.ConfSecurity.java
@Autowired public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception { auth.authenticationProvider(authenticationProvider); }