04-12-2007 05:17 AM
04-20-2007 07:52 AM
04-20-2007 09:06 AM
I would like to use the DownloadContentServlet passing a URL with the reference to the content to download, but….
Due to the authentication mechanism, the only way to perform this task is to provide a valid ticket as a parameter to the URL, but I think I am not allowed to do it because I don't have a valid ticket inside my custom web application. So, what other mechanism to download contents should I use?
I tried to use the GuestDownloadContentServlet, it works if and only if the Alfresco content is available to a guest user, but I don't have guest users in my custom web application, I have only registered ones.
So, what is the best solution for my problem?
Perhaps, should I write a custom Java class that uses the Alfresco APIs to authenticate a user and deploy it directly inside the Tomcat installation for my custom web app? Should this class create a new session with the logged user, get a user ticket, invoking the direct download servlet, then close the session?
04-20-2007 10:19 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.