Class SecurityMockMvcRequestPostProcessors.DigestRequestPostProcessor

java.lang.Object
org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.DigestRequestPostProcessor
All Implemented Interfaces:
org.springframework.test.web.servlet.request.RequestPostProcessor
Enclosing class:
SecurityMockMvcRequestPostProcessors

public static class SecurityMockMvcRequestPostProcessors.DigestRequestPostProcessor extends Object implements org.springframework.test.web.servlet.request.RequestPostProcessor
  • Constructor Details

    • DigestRequestPostProcessor

      public DigestRequestPostProcessor()
  • Method Details

    • password

      Configures the password to use
      Parameters:
      password - the password to use
      Returns:
      the DigestRequestPostProcessor for further customization
    • realm

      Configures the realm to use
      Parameters:
      realm - the realm to use
      Returns:
      the DigestRequestPostProcessor for further customization
    • postProcessRequest

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