
package de.ivu.elect.business.system.control;

import javax.enterprise.inject.Specializes;

import de.ivu.elect.business.system.entity.HttpSessionTracking;

@Specializes
public class NlHttpSessionKonfigurationInit extends HttpSessionKonfigurationInit {

  public NlHttpSessionKonfigurationInit() {
    super();
  }

  @Override
  protected HttpSessionTracking getDefaultSessionTrackingMode() {
    return HttpSessionTracking.COOKIE; // ELECTVAPP-364
  }

  @Override
  protected Boolean getDefaultCookieConfigHttpOnly() {
    return true; // ELECTVAPP-373
  }

  @Override
  protected Boolean getDefaultCookieSecureOnly() {
    return true; // ELECTVAPP-373
  }
}
