cancel
Showing results for 
Search instead for 
Did you mean: 

How to redirect URLs using a webscript in Share?

upforsin
Star Collaborator
Star Collaborator

Hello,

Right now, user in the Alfresco Share sends HTTP GET requests directly to another server.

Because of that, it is easy get unauthorized data.

How could I create a webscript which will redirect HTTP requests and responses between Alfresco Share and my server? (the user will send GET requests to localhost:8080/share/s/mydata and data will be loaded from http://www.example.com/data)

I know I can create a webscript, view and controller for every single URL but I have lots of urls so making temaplates for them is a nonsense. I just need to redirect the data (just pure JSON), not to process them.

Can I somehow use pure Spring for that?

Regards,

Mike

howkymike
Alfresco Developer
0 REPLIES 0