LRDOCS-823 web svc security

Reviewed by Jesse and ready for upstream master. Thanks.

https://issues.liferay.com/browse/LRDOCS-823