Problem to authenticate when loading images.. FLEX AS3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2010 05:57 AM
hi, I'm having a problem when i tried to load images from alfresco to my Flex AS3 component.
I've already authenticate and have my ticket. Width that ticket i have a webscript that return an array with all the path of my images…
When I trie to load them by path, I could get them because i'm not authenticated. When I authenticate by hand into alfresco and use the same browser before closing I am able to get the images.
I've tried to send the ticket in the url.. But I not sure that is being send in the right way..
like this…
Is it a better way?
Can someone give me a hand?
Thank you
I've already authenticate and have my ticket. Width that ticket i have a webscript that return an array with all the path of my images…
When I trie to load them by path, I could get them because i'm not authenticated. When I authenticate by hand into alfresco and use the same browser before closing I am able to get the images.
I've tried to send the ticket in the url.. But I not sure that is being send in the right way..
like this…
http://10.0.20.5:8080/alfresco/d/d/workspace/SpacesStore/f942919f-6a4f-4e4d-bd1f-1a8e7c7b1019/images...
Is it a better way?
Can someone give me a hand?
Thank you
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2010 06:33 AM
Ok.. The problem was really easy to solved, actually but took me a while because all documentation from alfresco that I've seen all used ?alf_ticket to send the ticket in the url….
And it was not…
Just by changing ?alf_ticket= to ?ticket= and my problem was solved…
so
was changed to
It seem easy.. I just posted the solution so that you, or someone who have the same problem don't lose time as I did..
And it was not…
Just by changing ?alf_ticket= to ?ticket= and my problem was solved…
so
http://10.0.20.5:8080/alfresco/d/d/workspace/SpacesStore/f942919f-6a4f-4e4d-bd1f-1a8e7c7b1019/images...
was changed to
http://10.0.20.5:8080/alfresco/d/d/workspace/SpacesStore/f942919f-6a4f-4e4d-bd1f-1a8e7c7b1019/images...
It seem easy.. I just posted the solution so that you, or someone who have the same problem don't lose time as I did..
