List of usage examples for org.springframework.security.config.annotation.authentication.configuration AuthenticationConfiguration getAuthenticationManager
public AuthenticationManager getAuthenticationManager() throws Exception
From source file:org.springframework.boot.autoconfigure.security.AuthenticationManagerConfiguration.java
@Bean @Primary//ww w. j av a2 s . c o m public AuthenticationManager authenticationManager(AuthenticationConfiguration configuration) throws Exception { return configuration.getAuthenticationManager(); }