class InitializeSessionManagement implements ServletContainerInitializer {

  @Override
  public void onStartup(Set<Class<?>> classes, ServletContext context) throws ServletException {
    // If session support is disabled, just log it
    if (disabled || Boolean.parseBoolean(context.getInitParameter(DISABLED_SESSION))) {
      logger.warn("Session management disabled for {}, {}, {}", context.getContextPath(), disabled,
          context.getInitParameter(DISABLED_SESSION));
      return;
    }
    setupProviders(context);
    initSessionManagement(context);
  }

}