You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
845 B
22 lines
845 B
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
grant {
|
|
// reindex opens socket connections using the rest client
|
|
permission java.net.SocketPermission "*", "connect";
|
|
};
|
|
|
|
grant codeBase "${codebase.elasticsearch-rest-client}" {
|
|
// rest client uses system properties which gets the default proxy
|
|
permission java.net.NetPermission "getProxySelector";
|
|
};
|
|
|
|
grant codeBase "${codebase.httpasyncclient}" {
|
|
// rest client uses system properties which gets the default proxy
|
|
permission java.net.NetPermission "getProxySelector";
|
|
};
|