config/src/main/java/org/springframework/security/config/annotation/web/configurers/SessionManagementConfigurer.java
public SessionManagementConfigurer<H> invalidSessionStrategy(
			InvalidSessionStrategy invalidSessionStrategy) {
		Assert.notNull(invalidSessionStrategy, "invalidSessionStrategy");
		this.invalidSessionStrategy = invalidSessionStrategy;
		return this;
	}
public SessionManagementConfigurer<H> invalidSessionStrategy(
			InvalidSessionStrategy invalidSessionStrategy) {
		Assert.notNull(invalidSessionStrategy, "invalidSessionStrategy");
		this.invalidSessionStrategy = invalidSessionStrategy;
		return this;
	}
public SessionManagementConfigurer < H > invalidSessionStrategy ( InvalidSessionStrategy invalidSessionStrategy ) { Assert . notNull ( invalidSessionStrategy , "invalidSessionStrategy" ) ; this . invalidSessionStrategy = invalidSessionStrategy ; return this ; }
Setting this attribute will inject the provided invalidSessionStrategy into the
{@link SessionManagementFilter}. When an invalid session ID is submitted, the
strategy will be invoked, redirecting to the configured URL.
@param invalidSessionStrategy the strategy to use when an invalid session ID is
submitted.
@return the {@link SessionManagementConfigurer} for further customization
Setting this attribute will inject the provided invalidSessionStrategy into the {