Browse Source

Add missing javadoc to session fixation

Eleftheria Stein 6 năm trước cách đây
mục cha
commit
aa533c2565

+ 7 - 0
config/src/main/java/org/springframework/security/config/annotation/web/configurers/SessionManagementConfigurer.java

@@ -389,6 +389,13 @@ public final class SessionManagementConfigurer<H extends HttpSecurityBuilder<H>>
 			return this;
 		}
 
+		/**
+		 * Determines the behaviour when an expired session is detected.
+		 *
+		 * @param expiredSessionStrategy the {@link SessionInformationExpiredStrategy} to
+		 * use when an expired session is detected.
+		 * @return the {@link ConcurrencyControlConfigurer} for further customizations
+		 */
 		public ConcurrencyControlConfigurer expiredSessionStrategy(
 				SessionInformationExpiredStrategy expiredSessionStrategy) {
 			SessionManagementConfigurer.this.expiredSessionStrategy = expiredSessionStrategy;