Update stub classes and qldoc

This commit is contained in:
luchua-bc
2021-04-12 16:19:23 +00:00
parent 04b0682bbf
commit d7f26dfc18
4 changed files with 22 additions and 66 deletions

View File

@@ -137,7 +137,7 @@ class SensitiveCookieNotHttpOnly {
response.addCookie(createCookie("refresh_token", refreshToken, true));
}
// BAD - Tests set a sensitive cookie header with the `HttpOnly` flag not set through a boolean variable using a wrapper method.
// GOOD - Tests set a sensitive cookie header with the `HttpOnly` flag not set through a boolean variable using a wrapper method.
public void addCookie15(HttpServletRequest request, HttpServletResponse response, String refreshToken) {
response.addCookie(createCookie("refresh_token", refreshToken, false));
}