shared index authentication

已回答

Is it possible to enable authentication for shared index downloads? There are no options to put in any kinds of auth, and there are no mention of auth in the documentation either. Thanks.

评论操作 固定链接

Shared Indexes do not require any auth to work. The pre-built public shared indexes are OK to download without any authentication, we build all necessary indexes ourselves. In addition to that, you may set-up your private project-specific shared indexes.

There is an extension point inside the shared indexes plugin that is used to provide authentication for the project shared indexes (for more details, check out the com.intellij.indexing.shared.download.SharedIndexDownloadAuthExtension class). You'd need to implement a plugin for IntelliJ to support a custom authentication for the project shared indexes scenario. 

0
评论操作 固定链接

Thanks Eugene, that's nice. Can you please point me to the right direction for com.intellij.indexing.shared.download.SharedIndexDownloadAuthExtension? I couldn't seem to find it.

Best,

0
评论操作 固定链接

The extension point that Eugene mentioned is called: 

<sharedIndexDownloadExtension ... />
0
评论操作 固定链接

Thanks Jakub. Sorry I am new to this. Can you please point me to the right doc on how to configure sharedIndexDownloadExtension?

0
评论操作 固定链接

Jakub Chrzanowski I need to add a custom authentication method for downloading shared indexes (basically adding a custom header to the http request). Is there a simpler way to do that, or do I have to create a plugin for that? Also, I don't see the 

sharedIndexDownloadExtension

extension point in the extension points list - did something changed since?

0

请先登录再写评论。