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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionConfigures the password to useorg.springframework.mock.web.MockHttpServletRequest
postProcessRequest
(org.springframework.mock.web.MockHttpServletRequest request) Configures the realm to use
-
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 interfaceorg.springframework.test.web.servlet.request.RequestPostProcessor
-