class FileConnection implements ObjectStoreConnection {

    boolean assertionMatch(Assertion assertion1, Assertion assertion2) {

        if (!assertion1.getAction().equals(assertion2.getAction())) {
            return false;
        }
        if (!assertion1.getResource().equals(assertion2.getResource())) {
            return false;
        }
        if (!assertion1.getRole().equals(assertion2.getRole())) {
            return false;
        }
        AssertionEffect effect1 = AssertionEffect.ALLOW;
        if (assertion1.getEffect() != null) {
            effect1 = assertion1.getEffect();
        }
        AssertionEffect effect2 = AssertionEffect.ALLOW;
        if (assertion2.getEffect() != null) {
            effect2 = assertion2.getEffect();
        }
        return effect1 == effect2;
    }

    public  FileConnection(File rootDir, File quotaDir);

}