config/src/main/java/org/springframework/security/config/annotation/web/configurers/SessionManagementConfigurer.java
private boolean isAllowSessionCreation() {
		SessionCreationPolicy sessionPolicy = getSessionCreationPolicy();
		return SessionCreationPolicy.ALWAYS == sessionPolicy
				|| SessionCreationPolicy.IF_REQUIRED == sessionPolicy;
	}
private boolean isAllowSessionCreation() {
		SessionCreationPolicy sessionPolicy = getSessionCreationPolicy();
		return SessionCreationPolicy.ALWAYS == sessionPolicy
				|| SessionCreationPolicy.IF_REQUIRED == sessionPolicy;
	}
private boolean isAllowSessionCreation ( ) { SessionCreationPolicy sessionPolicy = getSessionCreationPolicy ( ) ; return SessionCreationPolicy . ALWAYS == sessionPolicy || SessionCreationPolicy . IF_REQUIRED == sessionPolicy ; }
Returns true if the {@link SessionCreationPolicy} allows session creation, else
false
@return true if the {@link SessionCreationPolicy} allows session creation
Returns true if the {