sdiaz / FOSRestBundleByExample

FOSRestBundle example project with Symfony 2.6 standard distribution
MIT License
106 stars 31 forks source link

Checking secured controllers #20

Closed ghost closed 9 years ago

ghost commented 9 years ago

I submitted a POST request for creating a user with success. I am having trouble testing secured controllers for eg. _@Secure(roles="ROLEAPI") annotation. I generated X-WSSE header value with http://www.teria.com/~koseki/tools/wssegen/. I submitted header data with Nelmio API Doc with no success. I also did a submission using Google addons such as REST Console and Postman - REST Client with no success aswell. Is there something that I am missing or doing wrong ? Please share your thoughts on this problem I have.