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?