From 371389580b13bda572a0f280dee422233d6caf07 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Tue, 15 Feb 2022 12:20:52 -0700 Subject: [PATCH] Update JavaDoc Issue gh-10564 --- .../security/web/authentication/WebAuthenticationDetails.java | 1 + .../web/jackson2/WebAuthenticationDetailsMixinTests.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/main/java/org/springframework/security/web/authentication/WebAuthenticationDetails.java b/web/src/main/java/org/springframework/security/web/authentication/WebAuthenticationDetails.java index 2ed5656318..8c53e5c717 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/WebAuthenticationDetails.java +++ b/web/src/main/java/org/springframework/security/web/authentication/WebAuthenticationDetails.java @@ -50,6 +50,7 @@ public class WebAuthenticationDetails implements Serializable { * Constructor to add Jackson2 serialize/deserialize support * @param remoteAddress remote address of current request * @param sessionId session id + * @since 5.7 */ public WebAuthenticationDetails(String remoteAddress, String sessionId) { this.remoteAddress = remoteAddress; diff --git a/web/src/test/java/org/springframework/security/web/jackson2/WebAuthenticationDetailsMixinTests.java b/web/src/test/java/org/springframework/security/web/jackson2/WebAuthenticationDetailsMixinTests.java index 93fed9c751..6b43155abe 100644 --- a/web/src/test/java/org/springframework/security/web/jackson2/WebAuthenticationDetailsMixinTests.java +++ b/web/src/test/java/org/springframework/security/web/jackson2/WebAuthenticationDetailsMixinTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2016 the original author or authors. + * Copyright 2015-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.