Replies

Avatar

Avatar

Pawan_Mittal

Avatar

Pawan_Mittal

Pawan_Mittal

25-01-2017

Thanks. I got this solved for me. Have a Login service and login to app using AEM Author User credentials. Then all of the image urls will be accessible. 

Avatar

Avatar

__96

Avatar

__96

__96

25-01-2017

The best way I can think of is going to http://localhost:4502/system/console/configMgr/org.apache.sling.engine.impl.auth.SlingAuthenticator and checking allowanonymous. and then go to the http://localhost:4502/useradmin  -> search for anonymous user and in its permission select required read, write, edit permission on /content/dam/<whatever>.  This reduces the need to write custom servlet and using admin session to render the asset resource. 

Regards

Samir

Avatar

Avatar

__96

Avatar

__96

__96

25-01-2017

dragon2A wrote...

Hi,

 

 

Its very urgent.

 

 

 I have situation like we need to provide the aem preview outside of the AEM. 

 

 

Background : ours is a hybrid environment like content will reside in AEM and UI in PHP. 

 

 

For content approval we need to provide the preview URLs to the other member they are not going to have any AEM credentials. 

 

 

Problem: We are able to make the page available to other team members except the Images. 

 

 

To resolve the images issue we are making the image src as relative to obsolute path. 

 

 

Now we are able to see the images but with credentials. We need to bypass the AEM credentials. How we can achieve that? 

 

 

Thanks in Advance  

 

The best way I can think of is going to http://localhost:4502/system/console/configMgr/org.apache.sling.engine.impl.auth.SlingAuthenticator and checking allowanonymous. and then go to the http://localhost:4502/useradmin  -> search for anonymous user and in its permission select required read, write, edit permission on /content/dam/<whatever>.  This reduces the need to write custom servlet and using admin session to render the asset resource. 

Regards

Samir