19962013Ericsson AB. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
authauthErlang network authentication server.
This module is deprecated. For a description of the Magic
Cookie system, refer to
Distributed Erlang in the Erlang Reference Manual.
Magic cookie for local node (deprecated).
Use
erlang:get_cookie()
in ERTS instead.
Set the magic for the local node (deprecated).
The cookie can also be specified as a list with a single atom element.
Use
erlang:set_cookie(node(), Cookie)
in ERTS instead.
Status of communication authorization (deprecated).
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.
node_cookie([Node, Cookie]) -> yes | noSet the magic cookie for a node and verify authorization (deprecated).Node = node()Cookie = cookie()
Equivalent to
node_cookie(Node, Cookie).
Set the magic cookie for a node and verify authorization (deprecated).
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).