File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
driver/src/test/java/org/neo4j/driver/v1 Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3434
3535import static org .hamcrest .MatcherAssert .assertThat ;
3636import static org .hamcrest .Matchers .equalTo ;
37-
3837import static org .neo4j .driver .v1 .AuthTokens .basic ;
39- import static org .neo4j .driver .v1 .Values .parameters ;
4038import static org .neo4j .driver .v1 .Values .ofValue ;
39+ import static org .neo4j .driver .v1 .Values .parameters ;
4140
4241public class CredentialsIT
4342{
@@ -90,7 +89,7 @@ private void enableAuth( String password ) throws Exception
9089 {
9190 neo4j .restartServerOnEmptyDatabase ( Neo4jSettings .DEFAULT
9291 .updateWith ( Neo4jSettings .AUTH_ENABLED , "true" )
93- .updateWith ( Neo4jSettings .AUTH_FILE , tempDir .newFile ( "auth" ).getAbsolutePath () ));
92+ .updateWith ( Neo4jSettings .DATA_DIR , tempDir .getRoot ( ).getAbsolutePath () ));
9493
9594 Driver setPassword = GraphDatabase .driver ( neo4j .address (), new InternalAuthToken (
9695 parameters (
Original file line number Diff line number Diff line change 2727public class Neo4jSettings
2828{
2929 public static final String AUTH_ENABLED = "dbms.security.auth_enabled" ;
30- public static final String AUTH_FILE = "unsupported. dbms.security.auth_store.location " ;
30+ public static final String DATA_DIR = "dbms.directories.data " ;
3131
3232 private static final String TLS_CERT_KEY = "dbms.security.tls_certificate_file" ;
3333 private static final String TLS_KEY_KEY = "dbms.security.tls_key_file" ;
You can’t perform that action at this time.
0 commit comments