Authentication and authorization in REST Services with Liferay

后端 未结 4 1528
日久生厌
日久生厌 2020-12-18 09:29

We are building some services that will be exposed through a RESTful API. Primary customers of this API are Liferay portlets using Angular JS, meaning there are direct calls

4条回答
  •  时光取名叫无心
    2020-12-18 10:10

    I can't uprate someone's answer with my current rating but The answer above is probably the right direction. It sounds like what you need to investigate is something named CORS which provides security with cross site scripting. I'm sorry I don't quite know how it works yet (I'm in the same situation) but this is the main topic of this NSA document on REST

    For Spring, try here to start maybe?

提交回复
热议问题