コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

How is the ClientLibraryProxyServlet used?

Avatar

Level 1

In 5.6, there was a client lib proxy servlet called ClientLibraryProxyServlet added. According to http://docs.adobe.com/docs/en/cq/5-6/release_notes/wcm.html#par_text_7 it says "GRANITE-1666 - Clientlibrary: New Proxy Servlet to serve client libs hosted under /libs and /apps". Is this something that is automatically working or is there some special configuration needed. We are using 5.6.1, and it did not seem to be working.

1 受け入れられたソリューション

Avatar

正解者
Level 8

Here is some information that I received:

The purpose is to serve client libs hosted under /libs and /apps

  • add the property: allowProxy = 'true' to a clientlib
  • the clientlib will then be proxied via /etc.clientlibs/..., bypassing access control set on the clientlib.

example: 

Assume you have clientlib in /apps/myproject/clientlibs/foo. then you set the property /apps/myprojects/clientlibs/foo/allowProxy to true and then you can request: /etc.clientlibs/myprojects/clientlibs/foo.js.

I have created a documentation issue to have the information added to the docs.

Hope that helps,

scott

元の投稿で解決策を見る

2 返信

Avatar

正解者
Level 8

Here is some information that I received:

The purpose is to serve client libs hosted under /libs and /apps

  • add the property: allowProxy = 'true' to a clientlib
  • the clientlib will then be proxied via /etc.clientlibs/..., bypassing access control set on the clientlib.

example: 

Assume you have clientlib in /apps/myproject/clientlibs/foo. then you set the property /apps/myprojects/clientlibs/foo/allowProxy to true and then you can request: /etc.clientlibs/myprojects/clientlibs/foo.js.

I have created a documentation issue to have the information added to the docs.

Hope that helps,

scott

Avatar

Level 10