package be.iminds.ilabt.jfed;

import be.iminds.ilabt.jfed.lowlevel.connection.ClientConnectionManagerProvider;
import be.iminds.ilabt.jfed.lowlevel.connection.ConnectionBuilderFactory;
import be.iminds.ilabt.jfed.lowlevel.connection.SfaConnectionPool;
import be.iminds.ilabt.jfed.preferences.JFedPreferences;
import be.iminds.ilabt.jfed.util.JFedPasswordManager;
import be.iminds.ilabt.jfed.util.JFedTrustStore;

import javax.inject.Inject;
import javax.inject.Singleton;

/**
 * User: twalcari
 * Date: 7/7/2015
 * Time: 14:56
 */
@Singleton
public class TestSfaConnectionPool extends SfaConnectionPool {

    @Inject
    public TestSfaConnectionPool(JFedTrustStore baseTrustStore, JFedPreferences jFedPreferences,
                                 ConnectionBuilderFactory connectionBuilderFactory, JFedPasswordManager passwordManager) {
        super(baseTrustStore, jFedPreferences, connectionBuilderFactory, passwordManager);
    }

    @Override
    protected void startAutoExpire() {
        // we don't care for cleanup in our tests
    }
}
