# SecurityMockmvCrequestPostProcessors

为了使用 Spring Security的`RequestPostProcessor`实现，确保使用以下静态导入：

Java

```
import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*;
```

Kotlin

```
import org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*
```

## 章节摘要

* [嘲笑用户](authentication.html)
* [嘲笑CSRF ](csrf.html)
* [模拟表单登录](form-login.html)
* [模拟HTTP BASIC ](http-basic.html)
* [嘲笑OAuth2](oauth2.html)
* [模拟注销](logout.html)

[MockMVC设置](setup.html)[嘲笑用户](authentication.html)