Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 9a15bb6

Browse files
authored
Merge pull request #259 from grechaw/els-security-config
Issue #258 use security config for query rolesets and protected paths
2 parents 7f7eca3 + 24e9247 commit 9a15bb6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/main/java/com/marklogic/mgmt/resource/security/ProtectedPathManager.java

100644100755
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ public ProtectedPathManager(ManageClient client) {
1313
super(client);
1414
}
1515

16+
@Override
17+
protected boolean useSecurityUser() {
18+
return true;
19+
}
20+
1621
@Override
1722
public String getResourcesPath() {
1823
return "/manage/v2/protected-paths";

src/main/java/com/marklogic/mgmt/resource/security/QueryRolesetsManager.java

100644100755
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ public QueryRolesetsManager(ManageClient client) {
1616
super(client);
1717
}
1818

19+
@Override
20+
protected boolean useSecurityUser() {
21+
return true;
22+
}
23+
1924
@Override
2025
public String getResourcesPath() {
2126
return "/manage/v2/query-rolesets";

0 commit comments

Comments
 (0)