Search in sources :

Example 1 with BasicAuthentication

use of org.neo4j.bolt.security.auth.BasicAuthentication in project neo4j by neo4j.

the class BoltInitChangePasswordTest method setup.

@Before
public void setup() throws Throwable {
    authentication = new BasicAuthentication(authManagerRule.getManager(), authManagerRule.getManager());
    authManagerRule.getManager().getUserManager().newUser("neo4j", "123", true);
}
Also used : BasicAuthentication(org.neo4j.bolt.security.auth.BasicAuthentication) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 BasicAuthentication (org.neo4j.bolt.security.auth.BasicAuthentication)1