Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

auth_all.h File Reference


Detailed Description

Global authentication controls.

Chirp has a flexible authentication system that allows users to identify themselves to severs in many different ways. This module controls which methods are currently active.

Most programs should call auth_register_all to enable all modes by default, and only call auth_register_byname to choose a specific method when directed by the user with the -a command line option.

#include "auth.h"
#include "auth_unix.h"
#include "auth_kerberos.h"
#include "auth_globus.h"
#include "auth_hostname.h"
#include "auth_address.h"

Go to the source code of this file.

Functions

int auth_register_byname (const char *name)
 Enables a specific authentication mode.
int auth_register_all ()
 Enable all authentication modes.


Function Documentation

int auth_register_byname const char *  name  ) 
 

Enables a specific authentication mode.

If called multiple times, the methods will be attempted in the order chosen.

Parameters:
name The authentication mode, which may be:
  • "globus"
  • "kerberos"
  • "unix"
  • "hostname"
  • "address
See also:
auth_register_all

int auth_register_all  ) 
 

Enable all authentication modes.

Enables all authentication modes, in a default order.

See also:
auth_register_byname


Generated on Thu Jul 23 09:26:51 2009 for cctools by  doxygen 1.3.9.1