1
<?xml version="1.0" encoding="latin1" ?>
2
<!DOCTYPE erlref SYSTEM "erlref.dtd">
9
<holder>Ericsson AB, All Rights Reserved</holder>
12
The contents of this file are subject to the Erlang Public License,
13
Version 1.1, (the "License"); you may not use this file except in
14
compliance with the License. You should have received a copy of the
15
Erlang Public License along with this software. If not, it can be
16
retrieved online at http://www.erlang.org/.
18
Software distributed under the License is distributed on an "AS IS"
19
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20
the License for the specific language governing rights and limitations
23
The Initial Developer of the Original Code is Ericsson AB.
33
<modulesummary>Erlang Network Authentication Server</modulesummary>
35
<p>This module is deprecated. For a description of the Magic
36
Cookie system, refer to
37
<seealso marker="doc/reference_manual:distributed">Distributed Erlang</seealso> in the Erlang Reference Manual.</p>
41
<name>is_auth(Node) -> yes | no</name>
42
<fsummary>Status of communication authorization (deprecated)</fsummary>
47
<p>Returns <c>yes</c> if communication with <c>Node</c> is
48
authorized. Note that a connection to <c>Node</c> will
49
be established in this case. Returns <c>no</c> if <c>Node</c>
50
does not exist or communication is not authorized (it has
51
another cookie than <c>auth</c> thinks it has).</p>
52
<p>Use <seealso marker="net_adm#ping/1">net_adm:ping(Node)</seealso>
57
<name>cookie() -> Cookie</name>
58
<fsummary>Magic cookie for local node (deprecated)</fsummary>
60
<v>Cookie = atom()</v>
64
<seealso marker="erlang#erlang:get_cookie/0">erlang:get_cookie()</seealso>
69
<name>cookie(TheCookie) -> true</name>
70
<fsummary>Set the magic for the local node (deprecated)</fsummary>
72
<v>TheCookie = Cookie | [Cookie]</v>
73
<d>The cookie may also be given as a list with a single atom element</d>
74
<v> Cookie = atom()</v>
78
<seealso marker="erlang#erlang:set_cookie/2">erlang:set_cookie(node(), Cookie)</seealso>
83
<name>node_cookie([Node, Cookie]) -> yes | no</name>
84
<fsummary>Set the magic cookie for a node and verify authorization (deprecated)</fsummary>
87
<v>Cookie = atom()</v>
91
<seealso marker="#node_cookie/2">node_cookie(Node, Cookie)</seealso>.</p>
95
<name>node_cookie(Node, Cookie) -> yes | no</name>
96
<fsummary>Set the magic cookie for a node and verify authorization (deprecated)</fsummary>
99
<v>Cookie = atom()</v>
102
<p>Sets the magic cookie of <c>Node</c> to <c>Cookie</c>, and
103
verifies the status of the authorization.
104
Equivalent to calling
105
<seealso marker="erlang#erlang:set_cookie/2">erlang:set_cookie(Node, Cookie)</seealso>, followed by
106
<seealso marker="#is_auth/1">auth:is_auth(Node)</seealso>.</p>