Skip to content

Commit 1afcd24

Browse files
georgeajitgeorgeajit
authored andcommitted
No Task - Set internal security to false
1 parent 5d392c0 commit 1afcd24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/TestDatabaseClientKerberosFromFile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,15 @@ public static void createAutomaticGeoIndex() throws KeyManagementException, NoSu
252252
}
253253
}
254254

255-
// Method sets REST server's "authentication" to "Kerberos-ticket" and "internal security" to true
255+
// Method sets REST server's "authentication" to "Kerberos-ticket" and "internal security" to false
256256
// external security to be "none"
257257
public static void setAuthToKerberosAndInternalSecurityToTrue(String restServerName)
258258
throws Exception {
259259
DefaultHttpClient client = new DefaultHttpClient();
260260

261261
client.getCredentialsProvider().setCredentials(new AuthScope(appServerHostName, getAdminPort()),
262262
new UsernamePasswordCredentials("admin", "admin"));
263-
String body = "{\"group-name\": \"Default\", \"authentication\":\"kerberos-ticket\",\"internal-security\": \"true\"}";
263+
String body = "{\"group-name\": \"Default\", \"authentication\":\"kerberos-ticket\",\"internal-security\": \"false\"}";
264264

265265
HttpPut put = new HttpPut("http://" + appServerHostName + ":" + getAdminPort() + "/manage/v2/servers/" + restServerName
266266
+ "/properties?server-type=http");

0 commit comments

Comments
 (0)