@Configuration
@EnableTransactionManagement
@EnableWebMvc
public abstract class AnterosSpringSecurityMvcConfiguration
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Constructor and Description |
|---|
AnterosSpringSecurityMvcConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry) |
abstract void |
addListener(javax.servlet.ServletContext servletContext) |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
abstract void |
addServlet(javax.servlet.ServletContext servletContext,
org.springframework.web.context.support.AnnotationConfigWebApplicationContext appContext) |
void |
configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer) |
void |
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters) |
abstract String |
getDisplayName() |
abstract Class<?> |
globalMethodSecurityConfigurationClass() |
org.springframework.context.MessageSource |
messageSource() |
org.springframework.web.multipart.MultipartResolver |
multipartResolver() |
abstract Class<?> |
mvcConfigurationClass() |
void |
onStartup(javax.servlet.ServletContext servletContext) |
abstract Class<?> |
persistenceConfigurationClass() |
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertySourcesPlaceholderConfigurer() |
abstract Class<?>[] |
registerFirstConfigurationClasses() |
abstract Class<?>[] |
registerLastConfigurationClasses() |
abstract Class<?> |
securityConfigurationClass() |
org.springframework.transaction.PlatformTransactionManager |
txManager(DataSource dataSource,
br.com.anteros.persistence.session.SQLSessionFactory sessionFactory) |
org.springframework.web.servlet.view.InternalResourceViewResolver |
viewResolver() |
addArgumentResolvers, addFormatters, addInterceptors, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidatorpublic AnterosSpringSecurityMvcConfiguration()
public void addCorsMappings(org.springframework.web.servlet.config.annotation.CorsRegistry registry)
addCorsMappings in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddCorsMappings in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void onStartup(javax.servlet.ServletContext servletContext)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic abstract Class<?>[] registerFirstConfigurationClasses()
public abstract Class<?>[] registerLastConfigurationClasses()
public abstract Class<?> persistenceConfigurationClass()
public abstract Class<?> mvcConfigurationClass()
public abstract Class<?> securityConfigurationClass()
public abstract Class<?> globalMethodSecurityConfigurationClass()
public abstract void addListener(javax.servlet.ServletContext servletContext)
public abstract void addServlet(javax.servlet.ServletContext servletContext,
org.springframework.web.context.support.AnnotationConfigWebApplicationContext appContext)
public abstract String getDisplayName()
@Autowired @Bean(name="transactionManager") public org.springframework.transaction.PlatformTransactionManager txManager(DataSource dataSource, br.com.anteros.persistence.session.SQLSessionFactory sessionFactory)
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer()
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
configureMessageConverters in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void configureDefaultServletHandling(org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer configurer)
configureDefaultServletHandling in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurerconfigureDefaultServletHandling in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapterpublic void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers in interface org.springframework.web.servlet.config.annotation.WebMvcConfigureraddResourceHandlers in class org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter@Bean public org.springframework.web.servlet.view.InternalResourceViewResolver viewResolver()
@Bean public org.springframework.context.MessageSource messageSource()
@Bean public org.springframework.web.multipart.MultipartResolver multipartResolver()
Copyright © 2017 Anteros Tecnologia. All rights reserved.