Skip to content

tuplespace authentication #28

@shokai

Description

@shokai

password auth

server side

  • set password "peropero" for tuplespace foo
  • set password "zanmai" for tuplespace shokai

config.json

{"tuplespaces":
  {
    "foo": {
      "password": "peropero"
    },
    "shokai": {
      "password": "zanmai"
    }
  }
}

specify config file at start linda-server

% linda-server --config ./config.json

client side

put password parameter when connecting socket.io

io.connect("http://localhost:8931/socket.io?password=zanmai")

it allows to access tuplespace "shokai", not "foo".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions