forked from geta6/linda-socket.io
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
password auth
server side
- set password
"peropero"for tuplespacefoo - set password
"zanmai"for tuplespaceshokai
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".