AnsweredAssumed Answered

Streaming content from Alfresco with anonymous access

Question asked by spdaly on Sep 3, 2008
Latest reply on Sep 4, 2008 by sbuckle
I am wrestling with 3.0 to pull images out of the the repo using web scripts.  I noticed that there is a new Javascript API for streaming content, but there isn't any documentation out yet.  So, I wrote a Java backed web script using the RandomSelectWebScript example on the wiki.

The web script works correctly after basic HTTP authentication.  I added the following

AuthenticationUtil.setCurrentUser("admin");

but Alfresco is prompting for authentication before it "hits" the Java class.

Any help would be greatly appreciated!

Outcomes