How to redirect URLs using a webscript in Share?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2019 03:24 PM
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
Alfresco Developer
Labels:
- Labels:
-
Alfresco Content Services
0 REPLIES 0
