config/src/main/java/org/springframework/security/config/annotation/web/configurers/SessionManagementConfigurer.java
public SessionManagementConfigurer<H> sessionCreationPolicy(
			SessionCreationPolicy sessionCreationPolicy) {
		Assert.notNull(sessionCreationPolicy, "sessionCreationPolicy cannot be null");
		this.sessionPolicy = sessionCreationPolicy;
		return this;
	}
public SessionManagementConfigurer<H> sessionCreationPolicy(
			SessionCreationPolicy sessionCreationPolicy) {
		Assert.notNull(sessionCreationPolicy, "sessionCreationPolicy cannot be null");
		this.sessionPolicy = sessionCreationPolicy;
		return this;
	}
public SessionManagementConfigurer < H > sessionCreationPolicy ( SessionCreationPolicy sessionCreationPolicy ) { Assert . notNull ( sessionCreationPolicy , "sessionCreationPolicy cannot be null" ) ; this . sessionPolicy = sessionCreationPolicy ; return this ; }
Allows specifying the {@link SessionCreationPolicy}
@param sessionCreationPolicy the {@link SessionCreationPolicy} to use. Cannot be
null.
@return the {@link SessionManagementConfigurer} for further customizations
@see SessionCreationPolicy
@throws IllegalArgumentException if {@link SessionCreationPolicy} is null.
Allows specifying the {