When executing
javax.jcr.Session session = repository.login(new SimpleCredentials(
"admin", "admin".toCharArray()));
BufferedImage image = ImageIO.read(new URL(imageurl));
Where imageurl is the localhost path to my dam jpg file
I get error 401. How, do I use my Session obbject to allow ImageIO.read(new URL(imageurl)) to access the session?
regards