Interface AuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication>

  • Type Parameters:
    T - concrete Authentication type to build and configure in test security context
    All Superinterfaces:
    com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder<T>, org.springframework.test.web.servlet.request.RequestPostProcessor
    All Known Implementing Classes:
    KeycloakAuthRequestPostProcessor, MockAuthenticationRequestPostProcessor, OidcIdAuthenticationTokenRequestPostProcessor

    public interface AuthenticationRequestPostProcessor<T extends org.springframework.security.core.Authentication>
    extends org.springframework.test.web.servlet.request.RequestPostProcessor, com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder<T>
    Redundant code for Authentication MockMvc request post-processors
    Author:
    Jérôme Wacongne <ch4mp#64;c4-soft.com>
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default org.springframework.mock.web.MockHttpServletRequest postProcessRequest​(org.springframework.mock.web.MockHttpServletRequest request)  
      • Methods inherited from interface com.c4_soft.springaddons.security.oauth2.AuthenticationBuilder

        build
    • Method Detail

      • postProcessRequest

        default org.springframework.mock.web.MockHttpServletRequest postProcessRequest​(org.springframework.mock.web.MockHttpServletRequest request)
        Specified by:
        postProcessRequest in interface org.springframework.test.web.servlet.request.RequestPostProcessor