alsutton/enterprisepasswordsafe

View on GitHub
src/main/java/com/enterprisepasswordsafe/database/EntityWithAccessRightsDAO.java

Summary

Maintainability
A
0 mins
Test Coverage
package com.enterprisepasswordsafe.database;

import com.enterprisepasswordsafe.engine.AccessControlDecryptor;

import java.security.GeneralSecurityException;
import java.sql.SQLException;

public interface EntityWithAccessRightsDAO<T extends EntityWithAccessRights, D extends AccessControlDecryptor> {

    T getByIdDecrypted(String id, D decrypter) throws SQLException, GeneralSecurityException;
}