chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <>
Subject Re: getting images directly with alfresco
Date Tue, 19 Jul 2011 14:05:26 GMT
Hi Christopher,

There is no way to get the "alf_ticket" through OpenCMIS. You have to use the Alfresco APIs
to request a ticket.
But you shouldn't do that. It opens a security hole.

Better build a proxy servlet that handles the download through OpenCMIS.

- Florian

On 19/07/2011 14:57, Christopher Cheng wrote:
> I am using Alfresco as the repository for images of an image gallery
> implemented in Struts.
> The problem is that when the html is presented to the client, I want to pass
> the direct URL of the image like this
> <img src="
> Projects/Images/fantasy.jpg"/>
> Of course this doesn't work because the ticket "alf_ticket" is not in the
> URL and alfresco will take user to the login page.
> How could I get the "alf_ticket" with Apache chemistry API?

View raw message