You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by is...@apache.org on 2020/06/27 10:30:08 UTC
[lucene-solr] branch master updated: SOLR-14598: Granting
reflection access for using annotations in SOLR-14404
This is an automated email from the ASF dual-hosted git repository.
ishan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new e6ffa8e SOLR-14598: Granting reflection access for using annotations in SOLR-14404
e6ffa8e is described below
commit e6ffa8e9e263a0251202f2ca1bbd3a47cc8c2727
Author: Ishan Chattopadhyaya <is...@apache.org>
AuthorDate: Sat Jun 27 15:59:49 2020 +0530
SOLR-14598: Granting reflection access for using annotations in SOLR-14404
---
solr/server/etc/security.policy | 3 +++
1 file changed, 3 insertions(+)
diff --git a/solr/server/etc/security.policy b/solr/server/etc/security.policy
index 57229f0..eeae048 100644
--- a/solr/server/etc/security.policy
+++ b/solr/server/etc/security.policy
@@ -167,6 +167,9 @@ grant {
// used by solr to create sandboxes (e.g. script execution)
permission java.security.SecurityPermission "createAccessControlContext";
+
+ // Needed for annotations for V2 APIs.
+ permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.reflect";
};
// additional permissions based on system properties set by /bin/solr