[
https://issues.apache.org/jira/browse/SOLR-9481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15605308#comment-15605308
]
Jan Høydahl commented on SOLR-9481:
-----------------------------------
Hmm, need to choose another {{SOLR_HOME}} for testing write of
{{security.json}}:
{noformat}
[junit4] ERROR 0.57s J1 | BasicAuthStandaloneTest.testBasicAuth <<<
[junit4] > Throwable #1: org.apache.solr.common.SolrException: Failed
persisting security.json to
/Users/janhoy/git/lucene-solr/solr/core/src/test-files/solr/security.json
[junit4] > at
__randomizedtesting.SeedInfo.seed([CDB85BECEFA64B6E:71D62DFE4BF5C814]:0)
[junit4] > at
org.apache.solr.handler.admin.SecurityConfHandlerLocal.persistConf(SecurityConfHandlerLocal.java:86)
[junit4] > at
org.apache.solr.handler.admin.SecurityConfHandlerLocalForTest.persistConf(SecurityConfHandlerLocalForTest.java:33)
[junit4] > at
org.apache.solr.security.BasicAuthStandaloneTest.testBasicAuth(BasicAuthStandaloneTest.java:105)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] > Caused by: java.security.AccessControlException: access denied
("java.io.FilePermission"
"/Users/janhoy/git/lucene-solr/solr/core/src/test-files/solr/security.json"
"write")
[junit4] > at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
{noformat}
> BasicAuthPlugin should support standalone mode
> ----------------------------------------------
>
> Key: SOLR-9481
> URL: https://issues.apache.org/jira/browse/SOLR-9481
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: security
> Reporter: Jan Høydahl
> Assignee: Jan Høydahl
> Labels: authentication
> Fix For: 6.3, master (7.0)
>
> Attachments: SOLR-9481.patch, SOLR-9481.patch
>
>
> The BasicAuthPlugin currently only supports SolrCloud, and reads users and
> credentials from ZK /security.json
> Add support for standalone mode operation
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]