This is an automated email from the ASF dual-hosted git repository.
kumaab pushed a commit to branch ranger-2.10
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/ranger-2.10 by this push:
new 17a0564ff RANGER-5809: Use Ranger Admin secure endpoints by default in
plugins (#1259)
17a0564ff is described below
commit 17a0564ff2c0e3d4ebe134f94dfdb6d285652996
Author: Abhishek Kumar <[email protected]>
AuthorDate: Tue Sep 29 13:08:38 2026 -0700
RANGER-5809: Use Ranger Admin secure endpoints by default in plugins (#1259)
(cherry picked from commit b39c559b3d9f55966729f1bd367bebc868c2034a)
---
.../java/org/apache/ranger/admin/client/AbstractRangerAdminClient.java | 3 ++-
.../ranger-docker/scripts/knox/ranger-knox-plugin-install.properties | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git
a/agents-common/src/main/java/org/apache/ranger/admin/client/AbstractRangerAdminClient.java
b/agents-common/src/main/java/org/apache/ranger/admin/client/AbstractRangerAdminClient.java
index 41c9ef9ac..a0b732762 100644
---
a/agents-common/src/main/java/org/apache/ranger/admin/client/AbstractRangerAdminClient.java
+++
b/agents-common/src/main/java/org/apache/ranger/admin/client/AbstractRangerAdminClient.java
@@ -52,7 +52,8 @@ public void init(String serviceName, String appId, String
configPropertyPrefix,
this.gson = gson;
this.forceNonKerberos =
config.getBoolean(configPropertyPrefix + ".forceNonKerberos", false);
- this.forceSecureEndpointAccess =
config.getBoolean(configPropertyPrefix + ".forceSecureEndpointAccess", false);
+ /* secure endpoints by default; Using non-secure endpoints will
require explicit setting of forceSecureEndpointAccess=false */
+ this.forceSecureEndpointAccess =
config.getBoolean(configPropertyPrefix + ".forceSecureEndpointAccess", true);
}
@Override
diff --git
a/dev-support/ranger-docker/scripts/knox/ranger-knox-plugin-install.properties
b/dev-support/ranger-docker/scripts/knox/ranger-knox-plugin-install.properties
index 3b7d99b54..b5fac7e35 100644
---
a/dev-support/ranger-docker/scripts/knox/ranger-knox-plugin-install.properties
+++
b/dev-support/ranger-docker/scripts/knox/ranger-knox-plugin-install.properties
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-POLICY_MGR_URL=http://ranger:6080
+POLICY_MGR_URL=http://ranger.rangernw:6080
REPOSITORY_NAME=dev_knox
COMPONENT_INSTALL_DIR_NAME=/opt/knox