diff --git a/testkit-backend/src/main/java/neo4j/org/testkit/backend/messages/requests/GetFeatures.java b/testkit-backend/src/main/java/neo4j/org/testkit/backend/messages/requests/GetFeatures.java index d55be83b22..74f91bfb1b 100644 --- a/testkit-backend/src/main/java/neo4j/org/testkit/backend/messages/requests/GetFeatures.java +++ b/testkit-backend/src/main/java/neo4j/org/testkit/backend/messages/requests/GetFeatures.java @@ -40,7 +40,8 @@ public class GetFeatures implements TestkitRequest "ConfHint:connection.recv_timeout_seconds", "Temporary:DriverFetchSize", "Temporary:DriverMaxTxRetryTime", - "Feature:Auth:Bearer" + "Feature:Auth:Bearer", + "Feature:Auth:Kerberos" ) ); private static final Set SYNC_FEATURES = new HashSet<>( Arrays.asList( diff --git a/testkit-backend/src/main/java/neo4j/org/testkit/backend/messages/requests/NewDriver.java b/testkit-backend/src/main/java/neo4j/org/testkit/backend/messages/requests/NewDriver.java index 4e1d13ceb4..66de19f464 100644 --- a/testkit-backend/src/main/java/neo4j/org/testkit/backend/messages/requests/NewDriver.java +++ b/testkit-backend/src/main/java/neo4j/org/testkit/backend/messages/requests/NewDriver.java @@ -78,12 +78,15 @@ public TestkitResponse process( TestkitState testkitState ) case "bearer": authToken = AuthTokens.bearer( data.authorizationToken.getTokens().get( "credentials" ) ); break; + case "kerberos": + authToken = AuthTokens.kerberos( data.authorizationToken.getTokens().get( "credentials" ) ); + break; default: return BackendError.builder() .data( BackendError .BackendErrorBody.builder() .msg( "Auth scheme " + data.authorizationToken.getTokens().get( "scheme" ) + - "not implemented" ) + " not implemented" ) .build() ) .build(); }