From 84adefa331c4159d432d22840663c38f155cd4c1 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Fri, 20 Nov 2009 14:54:40 +0000 Subject: The R13B03 release. --- lib/kernel/doc/src/auth.xml | 109 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 lib/kernel/doc/src/auth.xml (limited to 'lib/kernel/doc/src/auth.xml') diff --git a/lib/kernel/doc/src/auth.xml b/lib/kernel/doc/src/auth.xml new file mode 100644 index 0000000000..f53fc8b29a --- /dev/null +++ b/lib/kernel/doc/src/auth.xml @@ -0,0 +1,109 @@ + + + + +
+ + 19962009 + Ericsson AB. All Rights Reserved. + + + The contents of this file are subject to the Erlang Public License, + Version 1.1, (the "License"); you may not use this file except in + compliance with the License. You should have received a copy of the + Erlang Public License along with this software. If not, it can be + retrieved online at http://www.erlang.org/. + + Software distributed under the License is distributed on an "AS IS" + basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See + the License for the specific language governing rights and limitations + under the License. + + + + auth + + + + +
+ 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.

+
+ + + is_auth(Node) -> yes | no + Status of communication authorization (deprecated) + + Node = node() + + +

Returns yes if communication with Node is + authorized. Note that a connection to Node will + be 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.

+
+
+ + cookie() -> Cookie + Magic cookie for local node (deprecated) + + Cookie = atom() + + +

Use + erlang:get_cookie() + instead.

+
+
+ + cookie(TheCookie) -> true + Set the magic for the local node (deprecated) + + TheCookie = Cookie | [Cookie] + The cookie may also be given as a list with a single atom element +  Cookie = atom() + + +

Use + erlang:set_cookie(node(), Cookie) + instead.

+
+
+ + node_cookie([Node, Cookie]) -> yes | no + Set the magic cookie for a node and verify authorization (deprecated) + + Node = node() + Cookie = atom() + + +

Equivalent to + node_cookie(Node, Cookie).

+
+
+ + node_cookie(Node, Cookie) -> yes | no + Set the magic cookie for a node and verify authorization (deprecated) + + Node = node() + Cookie = atom() + + +

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).

+
+
+
+
+ -- cgit v1.2.3