Skip to content

Commit ee19a7b

Browse files
georgeajitgeorgeajit
authored andcommitted
#995 - Added rest reader and writer roles to kerberos user.
1 parent 571f538 commit ee19a7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public static void setUpBeforeClass() throws Exception {
158158
// Associate the external security with the App Server.
159159
associateRESTServerWithKerberosExtSecurity(appServerName, extSecurityName);
160160
createUserRolesWithPrevilages("test-evalKer", "xdbc:eval", "xdbc:eval-in", "xdmp:eval-in", "any-uri", "xdbc:invoke");
161-
createRESTKerberosUser("builder", "Welcome123", kdcPrincipalUser, "admin", "test-evalKer");
161+
createRESTKerberosUser("builder", "Welcome123", kdcPrincipalUser, "rest-reader", "rest-writer", "test-evalKer");
162162
createRESTUser("rest-admin", "x", "rest-admin");
163163
}
164164

@@ -516,6 +516,7 @@ void validateReturnTypes(EvalResultIterator evr) throws Exception {
516516
@Test
517517
public void testPOJOGeoQuerySearchWithGeoPair() {
518518
System.out.println("Running testPOJOGeoQuerySearchWithGeoPair method");
519+
519520
PojoRepository<GeoSpecialArtifact, Long> products = client.newPojoRepository(GeoSpecialArtifact.class, Long.class);
520521
PojoPage<GeoSpecialArtifact> p;
521522
this.loadSimplePojos(products);

0 commit comments

Comments
 (0)