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".
password auth
server side
"peropero"for tuplespacefoo"zanmai"for tuplespaceshokaiconfig.json
{"tuplespaces": { "foo": { "password": "peropero" }, "shokai": { "password": "zanmai" } } }specify config file at start linda-server
client side
put
passwordparameter when connecting socket.ioit allows to access tuplespace "shokai", not "foo".