LPS-35935

Hi Sam,

I merged both SF commits into the one (removed the last JavaDoc SF) and updated all places where I use "context".

I'm not sure if it's OK to use "Class" in originClass or securityOriginClass, because I allow to specify also JSON action URL in the whitelist (```com.liferay.portal.jsonwebservice.JSONWebServiceServiceAction:/user/get-user-by-email-address```)

Thanks.