On 10/7/2014 2:24 AM, Srikanth Hugar wrote:
Hello,

      I have multiple REST API's developed using karaf, jetty, cxf.
I want to provide access to some API's only within internal office network and some API's to everyone.

I suggest using OSGI Remote Services (chapter 100 in enterprise specification). RS allows standardized export/distribution of services (APIs) for remote access. Each service can specify a 'config type' for the distribution. The provider identified by this config type can (e.g.) use different network interfaces, use different protocols, restrict access, etc., allowing each service API to be exported 'appropriately'.

ECF [1][2] has an open architecture allowing custom distribution providers to be easily created, all of which automatically implement the R6 specifications. Here [3] is a first tutorial that shows how to create a new RS distribution provider. We are actively working on other examples/tutorials.

Scott

[1] http://www.eclipse.org/ecf
[2] http://wiki.eclipse.org/ECF#OSGi_Remote_Services
[3] http://wiki.eclipse.org/Tutorial:_Creating_a_RESTful_Remote_Service_Provider

Reply via email to