Skip to content
This repository was archived by the owner on May 23, 2019. It is now read-only.
This repository was archived by the owner on May 23, 2019. It is now read-only.

Featrure request: startGraph - user password encoding #78

@ch-ricardor

Description

@ch-ricardor

a) Functionality: Ask for user:password
b) Encode user:password
c) READ ONLY option, blocking creation and updates.

If for some reason the R script will be shared with other users, would be nice to have an encoded string to provide the authentication and READ ONLY/READ WRITE access to the DB. (Access Key)

The graph connection object could transport the the read/write property to the other functions.

b)
Even it could be very easy to decode the Base64 encoding, for most regular users those characters won't make any specific sense.

Is it possible to add a functionality equivalent to the one provided by popoto.js, following the API authentication protocol ?
popoto.rest.AUTHORIZATION = "Basic dHdlZXQ6cGFzc3dvcmQ=";

"Basic " is a prefix.
dHdlZXQ6cGFzc3dvcmQ= equivalent to tweet:password
GFzc3dvcmQ= dHdlZXQ6c equivalent to �\ݝܜ٠ �ڙ]

  1. HTTP API

5.2.1.2. Authenticate to access the server
Authenticate by sending a username and a password to Neo4j using HTTP Basic Auth. Requests should include an Authorization header, with a value of Basic , where "payload" is a base64 encoded string of "username:password".

instead of:

graph = startGraph("http://localhost:7474/db/data/", username = "neo4j", password = "password")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions