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:
AuthenticationBuilder<T>, org.springframework.test.web.servlet.request.RequestPostProcessor
All Known Implementing Classes:
MockAuthenticationRequestPostProcessor

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

    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.test.AuthenticationBuilder

    build
  • Method Details

    • postProcessRequest

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