문제

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??

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top