neo4j-contrib / authentication-extension

Neo4j Server Auth Extension
72 stars 28 forks source link

Plugin does not protect Neo4j-community-2.1.5 #31

Open rremigius opened 9 years ago

rremigius commented 9 years ago

Hi,

I just installed Neo4j-community-2.1.5, copied the authentication-extension-2.1.5-1.0-SNAPSHOT.jar into the plugins directory and inserted the two config lines into the neo4j-server.properties file. However, unlike with Neo4j-community-2.1.2 and authentication-extension-2.1.2-1.0, the server does not ask for authentication upon requesting data from Neo4j.

In the logs I see lines related to the plugin, but no errors.

Best

whitfa99 commented 9 years ago

Once you've added those lines to the neo4j-server.properties file:

org.neo4j.server.credentials=admin:admin_password_here org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.server.extension.auth=/auth

..and restarted neo4j server:

sudo service neo4j-service restart

...you still need to add the users:

curl --user admin:admin_password_here -d "user=newuser:newuser_password_here" http://localhost:7474/auth/add-user-ro