@Configuration public class AuthenticationConfiguration extends Object
Configuration
Constructor and Description |
---|
AuthenticationConfiguration() |
Modifier and Type | Method and Description |
---|---|
AuthenticationManagerBuilder |
authenticationManagerBuilder(ObjectPostProcessor<Object> objectPostProcessor) |
GlobalAuthenticationConfigurerAdapter |
enableGlobalAuthenticationAutowiredConfigurer(ApplicationContext context) |
AuthenticationManager |
getAuthenticationManager() |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setGlobalAuthenticationConfigurers(List<GlobalAuthenticationConfigurerAdapter> configurers) |
void |
setObjectPostProcessor(ObjectPostProcessor<Object> objectPostProcessor) |
@Bean public AuthenticationManagerBuilder authenticationManagerBuilder(ObjectPostProcessor<Object> objectPostProcessor)
@Bean public GlobalAuthenticationConfigurerAdapter enableGlobalAuthenticationAutowiredConfigurer(ApplicationContext context)
public AuthenticationManager getAuthenticationManager() throws Exception
Exception
@Autowired(required=false) public void setGlobalAuthenticationConfigurers(List<GlobalAuthenticationConfigurerAdapter> configurers) throws Exception
Exception
@Autowired public void setApplicationContext(ApplicationContext applicationContext)
@Autowired public void setObjectPostProcessor(ObjectPostProcessor<Object> objectPostProcessor)