public void setup() throws Exception {
controller = new RemoteRepositoryAccessController();
crypto = new DES3CiphererDecipherer();
crypto.init();
controller.decipherer = crypto;
FileRepository repository = new FileRepository();
repository.setDocumentRoot(root);
controller.documentRepository = repository;
DocumentHolder doc = new DocumentHolder();
doc.setIdentifier("web/images/i18n/globe.gif");
doc.setStream(new FileInputStream(new File(doc.getIdentifier())));
doc.setMimeType("image/jpg");
repository.store(doc);
uri = crypto.encrypt(doc.getUri());
}