How Do I enable Proxy for JCR connection
I'm using this simplest code to connect to AEM. This is working when I am not behind the proxy but it is not working with proxy. I do not see any option to give proxy while making connection. -
Jcr2davRepositoryFactory repositoryFactory = new Jcr2davRepositoryFactory();
Map<String, Object> parameters = new HashMap();
parameters.put("org.apache.jackrabbit.repository.uri", remoteURL);
repository = repositoryFactory.getRepository(parameters);
Here repository is coming as null when I am behind the proxy server. Any solution?
