Authentication and authorization in REST Services with Liferay

后端 未结 4 1546
日久生厌
日久生厌 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:32

    Take a look at Single Sign On and Spring Security OAuth2 token authentication.

    Here is example: sso-with-oauth2-angular-js-and-spring-security.

    Note that Spring 4.2 might have some handy CORS support.

提交回复
热议问题