掲示板

custom web services on Liferay

thumbnail
12年前 に Shantanu Puranik によって更新されました。

custom web services on Liferay

Junior Member 投稿: 34 参加年月日: 11/01/21 最新の投稿
Following is the scenario:
User of tool (based on Eclipse RCP) requests for a file.
A custom web service on Liferay platform should in response create and stream an archive file(.zip) after performing authentication and authorization.

I already had a look at wiki article Creating Liferay 6 plugin web service
but it doesn't quite match the requirement as required functionality is already available as simple java method.
What should be the approach to use this method as web service on Liferay platform? I'm using 6.0. 6 CE.
thumbnail
12年前 に David H Nebinger によって更新されました。

RE: custom web services on Liferay

Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
Your web service is exported as a servlet, so no real Liferay involvement here. Create your standard web service and deploy it, and don't muddy the waters w/ Liferay involvement if you don't need it.
thumbnail
12年前 に Shantanu Puranik によって更新されました。

RE: custom web services on Liferay

Junior Member 投稿: 34 参加年月日: 11/01/21 最新の投稿
In that case, how would Liferay authentication and authorization (custom roles) be integrated/ triggered ?
The requirement is also to verify user requesting the file before streaming begins.
I'm novice in this area. Thanks for the inputs.
thumbnail
12年前 に David H Nebinger によって更新されました。

RE: custom web services on Liferay

Liferay Legend 投稿: 14916 参加年月日: 06/09/02 最新の投稿
Web service authentication is done via the web service itself (check out WS-Security, etc.).