package com.l7tech.server.identity.cert;

import com.l7tech.gateway.common.security.RevocationCheckPolicy;
import com.l7tech.server.util.ReadOnlyHibernateCallback;
import java.sql.SQLException;
import org.hibernate.HibernateException;
import org.hibernate.Session;

class f extends ReadOnlyHibernateCallback<RevocationCheckPolicy> {
   final RevocationCheckPolicyManagerImpl this$0;

   f(RevocationCheckPolicyManagerImpl var1) {
      this.this$0 = var1;
   }

   protected RevocationCheckPolicy doInHibernateReadOnly(Session var1) throws HibernateException, SQLException {
      return (RevocationCheckPolicy)this.this$0.n.getExecutableCriteria(var1).uniqueResult();
   }
}
