class ConfigurationServerImpl extends ManagerBase implements ConfigurationServer {

    static String getBase64Keystore(String keystorePath) throws IOException {
        byte[] storeBytes = FileUtils.readFileToByteArray(new File(keystorePath));
        if (storeBytes.length > 3000) { // Base64 codec would enlarge data by 1/3, and we have 4094 bytes in database entry at most
            throw new IOException("KeyStore is too big for database! Length " + storeBytes.length);
        }

        return new String(Base64.encodeBase64(storeBytes));
    }

    public  ConfigurationServerImpl();

}