Class AddonsWebmvcTestConf

java.lang.Object
com.c4_soft.springaddons.security.oauth2.test.mockmvc.AddonsWebmvcTestConf

@AutoConfiguration @Import(MockMvcProperties.class) public class AddonsWebmvcTestConf extends Object
Author:
ch4mp Test configuration to mock JwtDecoder
  • Constructor Details

    • AddonsWebmvcTestConf

      public AddonsWebmvcTestConf()
  • Method Details

    • jwtDecoder

      @Bean public org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder()
    • serializationHelper

      @Bean public SerializationHelper serializationHelper(org.springframework.beans.factory.ObjectFactory<org.springframework.boot.autoconfigure.http.HttpMessageConverters> messageConverters)
    • mockMvcSupport

      @Bean @Scope("prototype") public MockMvcSupport mockMvcSupport(org.springframework.test.web.servlet.MockMvc mockMvc, SerializationHelper serializationHelper, MockMvcProperties mockMvcProperties, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, com.c4_soft.springaddons.security.oauth2.config.SpringAddonsSecurityProperties securityProperties)