1
0
mirror of synced 2026-05-22 13:23:17 +00:00

Deprecate HPKP security header

Closes gh-10144
This commit is contained in:
Marcus Da Coregio
2022-10-03 11:15:21 -03:00
parent 7be2eb05d5
commit 64a19de4dc
6 changed files with 28 additions and 2 deletions
@@ -110,7 +110,11 @@ import org.springframework.util.Assert;
* @author Tim Ysewyn
* @author Ankur Pathak
* @since 4.1
* @deprecated see <a href=
* "https://owasp.org/www-community/controls/Certificate_and_Public_Key_Pinning">Certificate
* and Public Key Pinning</a> for more context
*/
@Deprecated
public final class HpkpHeaderWriter implements HeaderWriter {
private static final long DEFAULT_MAX_AGE_SECONDS = 5184000;