Hi,
I have installed AEM 6.0 author and publish instances in tomcat app server. Whenever something is published, i want to send some key code to publish instance during the replication. Appreciated for any suggestion
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
why don't you use replication via https? That's transparent to the application and you don't need to do anything. If you are paranoid, you should be able to setup the validation of both sender and receiver certificate. But don't reinvent the wheel and write code on your own.
kind regards,
Jörg
Views
Replies
Total Likes
Hi Scott,
I agree with you. But the scenario i am talking about a scenario as follows, i have installed publish instance in apache tomcat server (author instance is also installed in tomcat but in different machine). During the replication i want to add some rsa code in replication request. I want to validate the replication request with tomact(based on rsa code) before it reaches to publish instance.
Views
Replies
Total Likes
Not sure if this would work but looks like you can extend /libs/cq/replication/components/agent to create a custom replication agent.
Views
Replies
Total Likes
Hi,
why don't you use replication via https? That's transparent to the application and you don't need to do anything. If you are paranoid, you should be able to setup the validation of both sender and receiver certificate. But don't reinvent the wheel and write code on your own.
kind regards,
Jörg
Views
Replies
Total Likes
I think you might have to override the replication agent at the author side and similarly you will have to find the function which writes it into JCR on publish and override the same to check the rsa code.
Views
Replies
Total Likes
Is there any sample logic available to override the replication agent?
Views
Replies
Total Likes
Views
Replies
Total Likes