cancel
Showing results for 
Search instead for 
Did you mean: 

Webscript share authentication

staifresco
Champ in-the-making
Champ in-the-making
Hi everybody,

I have got a question about the authentication on an Alfresco webscript.

I understud the basic webscript authentication configuration on the desc.xml. but still if I get authenticated on the webscript with the basic http authentication and I want to
show some thumbnails or images contained on the share like a logo etc. I have first to authenticate on the sahre too.


Is there a way to show this content on the webscript without get authenticated on the share ?
1 REPLY 1

scouil
Star Contributor
Star Contributor
Hi,

Basically you can consider Share as just being a UI that displays Alfresco content.
All the content, including your node and their renditions.
If you want to retrieve a thumbnail from an Alfresco webscript where you're already authenticated, have a look at
/alfresco/s/script/org/alfresco/repository/thumbnail/thumbnail.get

It's obviously possible to retrieve it from Alfresco code (like within one of your custom webscript) too depending on your use case.