GithubHelp home page GithubHelp logo

isabella232 / neo4j-example-auth-plugins Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neo4j/neo4j-example-auth-plugins

0.0 0.0 0.0 64 KB

Example authentication and authorization plugins for Neo4j

License: Apache License 2.0

Java 100.00%

neo4j-example-auth-plugins's Introduction

neo4j-example-auth-plugins

Example authentication and authorization plugins for Neo4j

You have to run this with Java 8.

If you just want to build the plugins, you can choose to ignore integration tests by running:

mvn clean install -DskipITs 

Install plugins in Neo4j

Copy the output jar file into the plugins folder of Neo4j Enterprise Edition 3.1 or later:

cp plugins/target/neo4j-example-auth-plugins-<VERSION>.jar <NEO4J-HOME>/plugins/

Edit the Neo4j configuration file <NEO4J-HOME>/conf/neo4j.conf and add the dbms.security.auth_provider setting, e.g.:

dbms.security.auth_provider=plugin-org.neo4j.example.auth.plugin.MyAuthPlugin

You can also enable multiple plugins simultaneously with the dbms.security.auth_providers setting, e.g.:

dbms.security.auth_providers=plugin-MyAuthPlugin1,plugin-MyAuthPlugin2

You can also toggle authentication and authorization enabled individually, e.g.:

dbms.security.plugin.authentication_enabled=true
dbms.security.plugin.authorization_enabled=false

(NOTE: This will currently not work with a plugin implementing the simplified AuthPlugin interface, since it will not be loaded unless both settings are either true or left out)

neo4j-example-auth-plugins's People

Contributors

henriknyman avatar jsoref avatar klaren avatar lutovich avatar oliviaytterbrink avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.