package de.ivu.elect.presentation.security.sso;

import java.io.Serializable;

import javax.inject.Inject;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import de.ivu.elect.business.security.control.SingleSignOn;

public class SingleSignOnWrapper implements Serializable {
  private static final long serialVersionUID = 1L;

  @Inject
  private transient SingleSignOn singleSignOn;

  public boolean isSingleSignOnAktiviert() {
    return singleSignOn.isSingleSignOnAktiviert();
  }

  public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain, FilterConfig filterConfig) {
    throw new UnsupportedOperationException();
  }
}
