Question

I am working on Java application(Play Framework) which is using Amazon SNS API to send an email to customers. I like to use AuthenticateOnUnsubscribe flag for security reason. I donno how to use this flag in java? When I used ConfirmSubscription API in Java, It is asking 'token' value(I donno about this value, It will send from Amazon SNS to customer through email; Not sure; If possible, Advice me)

Advice me on how to use AuthenticateOnUnsubscribe flag in Java??

Était-ce utile?

La solution

Try making the "ConfirmSubscription" request authenticated and set the flag. Instead of just clicking on the email, or going to the confirm URL, use the API call (http://docs.aws.amazon.com/sns/latest/APIReference/API_ConfirmSubscription.html). Sign it with your AWS key and set the AuthenticateOnUnsubscribe to true.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top