auth
Erlang network authentication server.
This module is deprecated. For a description of the Magic Cookie system, refer to Distributed Erlang
in the Erlang Reference Manual.
cookie() = atom()
Use erlang:get_cookie()
in ERTS instead.
The cookie can also be specified as a list with a single atom element.
Use erlang:set_cookie(node(),Cookie)in ERTS
instead.
Returns yes
if communication with Node
is authorized. Notice that a connection to Node
is established in this case. Returns no
if Node
does not exist or communication is not authorized (it has another cookie than auth
thinks it has).
Use net_adm:ping(Node)
instead.
Equivalent to node_cookie(Node, Cookie)
.
Sets the magic cookie of Node
to Cookie
and verifies the status of the authorization. Equivalent to calling erlang:set_cookie(Node,Cookie)
, followed by auth:is_auth(Node)
.
© 2010–2017 Ericsson AB
Licensed under the Apache License, Version 2.0.